Skip to content

Commit

Permalink
Merge pull request #1 from wushin/storage
Browse files Browse the repository at this point in the history
Fix chat logoff
  • Loading branch information
Meistache committed Feb 8, 2015
2 parents e0e927d + e5c5b6a commit 6eba926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/packet_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def whisper(nick, message):
def chat(text):
chat_packet = PacketOut(CMSG_CHAT_MESSAGE)
chat_packet.write_int16(len(text) + 4 + 1)
chat_packet = PacketOut(CMSG_CHAT_MESSAGE)
chat_packet.write_string(text, len(text) + 1)
return str(chat_packet)

Expand Down

0 comments on commit 6eba926

Please sign in to comment.