Update modules/ban_engine.py

This commit is contained in:
Nova Cat 2025-01-10 18:52:42 -08:00
parent 5183038199
commit 0799df1c35

View file

@ -7,8 +7,8 @@ class IRCatModule:
useSQLengine = False
def __init__(self, ban_provider, host, sql):
self.ban_provider = ban_provider
self.host
if ban_provider == "sql":
self.host = host
self.useSQLengine = True
self.SQLengine = sql
def onValidate(self, socket, ip):