summaryrefslogtreecommitdiff
path: root/net/packet_out.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/packet_out.py')
-rw-r--r--net/packet_out.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/packet_out.py b/net/packet_out.py
index fea93d4..2a73a59 100644
--- a/net/packet_out.py
+++ b/net/packet_out.py
@@ -15,8 +15,10 @@ def whisper(nick, message):
def chat(text):
chat_packet = PacketOut(CMSG_CHAT_MESSAGE)
- chat_packet.write_int16(len(text) + 4 + 1)
- chat_packet.write_string(text, len(text) + 1)
+ mes = "ManaMarket"+" : "+text
+ chat_packet.write_int16(len(mes) + 4 + 1)
+ # chat_packet = PacketOut(CMSG_CHAT_MESSAGE)
+ chat_packet.write_string(mes, len(mes) + 1)
return str(chat_packet)
def sit(val):