mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-09-29 13:27:38 -05:00
Force encoding on data
This commit is contained in:
@@ -349,7 +349,7 @@ class Gamestats(LineReceiver):
|
||||
|
||||
def crypt(self, data):
|
||||
key = "GameSpy3D"
|
||||
output = bytearray(data)
|
||||
output = bytearray(data.encode("ascii"))
|
||||
|
||||
if "\\final\\" in output:
|
||||
end = output.index("\\final\\")
|
||||
|
||||
Reference in New Issue
Block a user