Update modules/ban_engine.py
This commit is contained in:
parent
6fc2bd14fe
commit
5183038199
1 changed files with 1 additions and 1 deletions
|
@ -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...")
|
||||
|
|
Loading…
Add table
Reference in a new issue