From 62bfc7bc53e3f3fff3a3bf3ee42903f0635fccca Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 11 Jan 2025 00:35:40 -0800 Subject: [PATCH] Update server.py --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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']: