Update modules/ban_engine.py
This commit is contained in:
parent
5183038199
commit
0799df1c35
1 changed files with 1 additions and 1 deletions
|
@ -7,8 +7,8 @@ class IRCatModule:
|
||||||
useSQLengine = False
|
useSQLengine = False
|
||||||
def __init__(self, ban_provider, host, sql):
|
def __init__(self, ban_provider, host, sql):
|
||||||
self.ban_provider = ban_provider
|
self.ban_provider = ban_provider
|
||||||
|
self.host
|
||||||
if ban_provider == "sql":
|
if ban_provider == "sql":
|
||||||
self.host = host
|
|
||||||
self.useSQLengine = True
|
self.useSQLengine = True
|
||||||
self.SQLengine = sql
|
self.SQLengine = sql
|
||||||
def onValidate(self, socket, ip):
|
def onValidate(self, socket, ip):
|
||||||
|
|
Loading…
Add table
Reference in a new issue