Update server.py
This commit is contained in:
parent
0434a8cb60
commit
66cfadfc4f
1 changed files with 4 additions and 1 deletions
|
@ -105,7 +105,10 @@ for mod in modules:
|
||||||
if modules["sql_provider"] == None:
|
if modules["sql_provider"] == None:
|
||||||
print("IRCat needs an SQL provider.")
|
print("IRCat needs an SQL provider.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
config = modules["sql_provider"].broker()
|
sqlproviderequires = {}
|
||||||
|
for i in modules["sql_provider"].__ircat_requires__:
|
||||||
|
sqlproviderequires[i.replace("-", "_")] = sqlproviderequires
|
||||||
|
config = modules["sql_provider"].broker(**sqlproviderequires)
|
||||||
sockets = {}
|
sockets = {}
|
||||||
sockets_ssl = {}
|
sockets_ssl = {}
|
||||||
# Open the specified non-SSL sockets.
|
# Open the specified non-SSL sockets.
|
||||||
|
|
Loading…
Reference in a new issue