From 57939becca009b44be98d65d1281c00bf20af1a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Apr 2016 20:24:20 +0300 Subject: servergreps: dont add into list parsed packet string names. Update logs. --- servergreps/hercules/packets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'servergreps/hercules/packets.py') 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 -- cgit v1.2.3-70-g09d2