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