From b2fba72a12afcd4c83f81edace3eade6e4bdb5c5 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 11 Jan 2025 00:28:13 -0800 Subject: [PATCH] Update server.py --- server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.py b/server.py index f834aa7..3011009 100644 --- a/server.py +++ b/server.py @@ -107,6 +107,8 @@ for i in mods['allsocket']: requires["sql"] = config if __ircat_fakechannels__ in i: topic_list = topic_list | i.__ircat_fakechannels__ + for i, v in __ircat_fakechannels__.items(): + channels_list[i] = [] socketListeners.append(i.IRCatModule(**requires)) commandProviders = [] for i in mods['command']: @@ -293,6 +295,7 @@ def session(connection, client, ip, ssl=False): else: channels_list[channel] = [pending] lower_chans[channel.lower()] = channel + topic_list[channel] = "Topic is not implemented." except: connection.sendall(bytes(f":{server} NOTICE * :*** Could not join {channel}\r\n","UTF-8")) print(channels_list)