From 24a5f319ef7836f718d674b2686e0e834386fe14 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Fri, 14 Feb 2025 23:28:26 -0800 Subject: [PATCH] Update server.py --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index 7762764..7908f98 100644 --- a/server.py +++ b/server.py @@ -519,6 +519,7 @@ def session(connection, client, ip, isssl=False): dosend(bytes(f"{tags()}:{server} NOTICE * :*** Could not join {channel}\r\n","UTF-8")) print(channels_list) if property_list[pending]["identified"] and property_list[pending]["identusername"] in channel_modestore_identify[channel]: + print(f"{pending} has an identify mode, setting mode " + channel_modestore_identify[channel][property_list[pending]["identusername"]]) channel_modestore[channel][pending] = channel_modestore_identify[channel][property_list[pending]["identusername"]] for i in channels_list[channel]: try: @@ -538,6 +539,7 @@ def session(connection, client, ip, isssl=False): dosend(bytes(f"{tags()}:{server} 366 {pending} {channel} :End of /NAMES list.\r\n","UTF-8")) if topic_list[channel] == "": tpc = topic_list[channel] + print(tpc) dosend(bytes(f"{tags()}:{server} 332 {pending} {channel} :{tpc}\r\n","UTF-8")) else: dosend(bytes(f"{tags()}:{server} 331 {pending} {channel} :No topic is set\r\n","UTF-8"))