From c520c680dc18a492a0cfbb93537c0350c26f9780 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Sat, 15 Feb 2025 00:03:47 -0800 Subject: [PATCH] Update server.py --- server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server.py b/server.py index 1a26c4b..ccd9c44 100644 --- a/server.py +++ b/server.py @@ -522,8 +522,7 @@ def session(connection, client, ip, isssl=False): except: dosend(bytes(f"{tags()}:{server} NOTICE * :*** Could not join {channel}\r\n","UTF-8")) print(channels_list) - print(channel_modestore_identify[channel]) - if property_list[pending]["identified"]: + if property_list[pending]["identified"] and channel in channel_modestore_identify: print(property_list[pending]["identusername"]) if 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"]])