summaryrefslogtreecommitdiff
path: root/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.py')
-rw-r--r--protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol.py b/protocol.py
index 44e647c..f6a2905 100644
--- a/protocol.py
+++ b/protocol.py
@@ -61,7 +61,7 @@ def parse(packet, conn):
elif data[1] == "register":
r=player.register(data[2], t)
if r is ERR_BAD:
- return [PACKET_NACK, "Invalid registration attempt"]
+ return [PACKET_REGX, "Invalid registration attempt"]
else:
return [PACKET_ACK, r]