Update modules/ban_engine.py

This commit is contained in:
Nova Cat 2025-01-10 18:52:05 -08:00
parent 6fc2bd14fe
commit 5183038199

View file

@ -22,7 +22,7 @@ class IRCatModule:
if self.useSQLengine:
pass
else:
bans = open(self.ban_provider).read.split("\n")
bans = open(self.ban_provider).read().split("\n")
for i in bans:
if ip in i.split(" ")[0]:
print("IP is banned, killing connection now...")