Update server.py

This commit is contained in:
Nova Cat 2025-02-15 00:31:50 -08:00
parent cf2ce962ab
commit 2a46dcd7b6

View file

@ -527,6 +527,8 @@ def session(connection, client, ip, isssl=False):
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"]])
channel_modestore[channel][pending] = channel_modestore_identify[channel][property_list[pending]["identusername"]]
mo = channel_modestore[channel][pending]
pendingSend += f":{server} MODE {channel} +{mo} {pending}\r\n"
for i in channels_list[channel]:
try:
if i != pending: