parent
1db75fa475
commit
51ea5905e2
1 changed files with 1 additions and 1 deletions
|
@ -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]:
|
||||
|
|
Loading…
Add table
Reference in a new issue