From 5183038199df65f9558fdfc826ac5cfda7d380a3 Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 10 Jan 2025 18:52:05 -0800 Subject: [PATCH] Update modules/ban_engine.py --- modules/ban_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...")