summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 15:34:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 15:34:53 +0300
commit6bd0c0b1acd5afb7edfa3c62f161070e5884174e (patch)
tree60ded20bea686518fc59f10ab82f1343b919491f
parent4f4519e9dd7d838492e813deeefe75cc414113e6 (diff)
downloadevol-tools-6bd0c0b1acd5afb7edfa3c62f161070e5884174e.tar.gz
evol-tools-6bd0c0b1acd5afb7edfa3c62f161070e5884174e.tar.bz2
evol-tools-6bd0c0b1acd5afb7edfa3c62f161070e5884174e.tar.xz
evol-tools-6bd0c0b1acd5afb7edfa3c62f161070e5884174e.zip
servergreps: fix case in reading packets from protocol.h.
-rwxr-xr-xservergreps/packets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servergreps/packets.py b/servergreps/packets.py
index 9aba513..4e3e922 100755
--- a/servergreps/packets.py
+++ b/servergreps/packets.py
@@ -46,7 +46,7 @@ def collectManaPlusPackets(fileName):
for line in f:
m = protocolre.search(line)
if m is not None:
- clientPackets[m.group("packet")] = m.group("name")
+ clientPackets[m.group("packet").lower()] = m.group("name")
def printPackets():
for packet in packets: