diff --git a/twnet_parser/messages7/system/info.py b/twnet_parser/messages7/system/info.py index fb38858..36c9946 100644 --- a/twnet_parser/messages7/system/info.py +++ b/twnet_parser/messages7/system/info.py @@ -3,7 +3,7 @@ from twnet_parser.pretty_print import PrettyPrint from twnet_parser.packer import Unpacker from twnet_parser.chunk_header import ChunkHeader -from twnet_parser.packer import SANITIZE_CC, pack_int, pack_str +from twnet_parser.packer import pack_int, pack_str class MsgInfo(PrettyPrint): def __init__( @@ -26,7 +26,7 @@ class MsgInfo(PrettyPrint): def unpack(self, data: bytes) -> bool: unpacker = Unpacker(data) self.version = unpacker.get_str() - self.password = unpacker.get_str(SANITIZE_CC) # TODO: optionals + self.password = unpacker.get_str() # TODO: optionals self.client_version = unpacker.get_int() # TODO: optionals return True