summaryrefslogtreecommitdiff
path: root/servergreps/hercules/packets.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-03 20:24:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-03 20:24:20 +0300
commit57939becca009b44be98d65d1281c00bf20af1a2 (patch)
tree863884f7358cea4bcd9d8cb88901e824db979263 /servergreps/hercules/packets.py
parent0c7a6aaea14d4c35a369b9bb86d6c0914bc877d1 (diff)
downloadevol-tools-57939becca009b44be98d65d1281c00bf20af1a2.tar.gz
evol-tools-57939becca009b44be98d65d1281c00bf20af1a2.tar.bz2
evol-tools-57939becca009b44be98d65d1281c00bf20af1a2.tar.xz
evol-tools-57939becca009b44be98d65d1281c00bf20af1a2.zip
servergreps: dont add into list parsed packet string names.
Update logs.
Diffstat (limited to 'servergreps/hercules/packets.py')
-rwxr-xr-xservergreps/hercules/packets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py
index a72beea..fc53c92 100755
--- a/servergreps/hercules/packets.py
+++ b/servergreps/hercules/packets.py
@@ -33,11 +33,11 @@ manaplusUsedPacketsSet = set()
namedPackets = dict()
def addServerPacket(data):
- packetsSet.add(data.lower())
if data in namedPackets:
- #print "renamed {0} to:".format(data)
for val in namedPackets[data]:
packetsSet.add(val)
+ else:
+ packetsSet.add(data.lower())
def collectServerPackets(parentDir):
global itemNamesByName