mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
Update module/filter/doubleFilter.py
Co-authored-by: Jan Speller <github@speller.biz>
This commit is contained in:
parent
a6a1059931
commit
1ead2cbaa2
|
|
@ -73,7 +73,6 @@ class BoswatchModule(ModuleBase):
|
||||||
if all(listPacket.get(x) == bwPacket.get(x) for x in filterFields):
|
if all(listPacket.get(x) == bwPacket.get(x) for x in filterFields):
|
||||||
logging.debug("found duplicate: %s", bwPacket.get("mode"))
|
logging.debug("found duplicate: %s", bwPacket.get("mode"))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# delete entries that are to old
|
# delete entries that are to old
|
||||||
counter = 0
|
counter = 0
|
||||||
for listPacket in self._filterLists[bwPacket.get("mode")][1:]: # [1:] skip first entry, thats the new one
|
for listPacket in self._filterLists[bwPacket.get("mode")][1:]: # [1:] skip first entry, thats the new one
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue