Update server.py
This commit is contained in:
parent
4d49ad879b
commit
feed07f982
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ for mod in modules:
|
|||
raise Exception(f"Tried to import {mod} as an SQL provider, but something's already the SQL provider.")
|
||||
elif temp_module.__ircat_type__ == "command":
|
||||
mods["command"].append(temp_module)
|
||||
elif temp_module.__ircat_type__ == "allsocket":
|
||||
mods["allsocket"].append(temp_module)
|
||||
except:
|
||||
print(f"Module {i} failed to load.")
|
||||
print(traceback.format_exc())
|
||||
|
|
Loading…
Add table
Reference in a new issue