diff --git a/modules/ban_engine.py b/modules/ban_engine.py index f2e07d2..c56842c 100644 --- a/modules/ban_engine.py +++ b/modules/ban_engine.py @@ -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...")