Update modules/ban_engine.py

This commit is contained in:
Nova Cat 2025-02-04 17:00:06 -08:00
parent 1db75fa475
commit 51ea5905e2

View file

@ -11,7 +11,7 @@ class IRCatModule:
if ban_provider == "sql":
self.useSQLengine = True
self.SQLengine = sql
def onValidate(self, socket, ip):
def onValidate(self, socket, ip, *args, **kwargs):
bans = open(self.ban_provider).read().split("\n")
for i in bans:
if ip in i.split(" ")[0]: