Update server.py
This commit is contained in:
parent
8d0025416b
commit
62bfc7bc53
1 changed files with 3 additions and 1 deletions
|
@ -104,10 +104,12 @@ for i in mods['allsocket']:
|
||||||
requires[j.replace("-", "_")] = data[j]
|
requires[j.replace("-", "_")] = data[j]
|
||||||
if "sql" in i.__ircat_giveme__:
|
if "sql" in i.__ircat_giveme__:
|
||||||
requires["sql"] = config
|
requires["sql"] = config
|
||||||
if "__ircat_fakechannels__" in dir(i):
|
try:
|
||||||
topic_list = topic_list | i.__ircat_fakechannels__
|
topic_list = topic_list | i.__ircat_fakechannels__
|
||||||
for i, v in __ircat_fakechannels__.items():
|
for i, v in __ircat_fakechannels__.items():
|
||||||
channels_list[i] = ["NickServ"]
|
channels_list[i] = ["NickServ"]
|
||||||
|
except:
|
||||||
|
pass
|
||||||
socketListeners.append(i.IRCatModule(**requires))
|
socketListeners.append(i.IRCatModule(**requires))
|
||||||
commandProviders = []
|
commandProviders = []
|
||||||
for i in mods['command']:
|
for i in mods['command']:
|
||||||
|
|
Loading…
Add table
Reference in a new issue