mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-07-06 20:33:54 -05:00
Resolved error with pending buddy messages
Attempting to pass mutable type was throwing exception - prevented accounts from logging in
This commit is contained in:
parent
7b0f6a9952
commit
b4e6a72eb4
|
|
@ -787,9 +787,9 @@ class PlayerSession(LineReceiver):
|
|||
for message in messages:
|
||||
if message['sourceid'] not in self.blocked:
|
||||
try:
|
||||
self.transport.write(bytearray(message['msg']))
|
||||
self.transport.write(bytes(message['msg']))
|
||||
except:
|
||||
self.transport.write(bytearray(message['msg'], "utf-8"))
|
||||
self.transport.write(bytes(message['msg'], "utf-8"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user