diff --git a/server.py b/server.py index 51db6ae..8c6cdc5 100644 --- a/server.py +++ b/server.py @@ -104,10 +104,12 @@ for i in mods['allsocket']: requires[j.replace("-", "_")] = data[j] if "sql" in i.__ircat_giveme__: requires["sql"] = config - if "__ircat_fakechannels__" in dir(i): + try: topic_list = topic_list | i.__ircat_fakechannels__ for i, v in __ircat_fakechannels__.items(): channels_list[i] = ["NickServ"] + except: + pass socketListeners.append(i.IRCatModule(**requires)) commandProviders = [] for i in mods['command']: