Update server.py

This commit is contained in:
Nova Cat 2024-12-12 13:31:39 -08:00
parent 45783e4591
commit 2730cfa6c5

View file

@ -208,7 +208,7 @@ def session(connection, client):
channels_list[i].append(pending2) channels_list[i].append(pending2)
except: except:
print(traceback.format_exc()) print(traceback.format_exc())
conection.sendall(bytes(f":{pending}!~{username}@{hostname} {text}\r\n","UTF-8")) conection.sendall(bytes(f":{pending}!~{username}@{hostname} NICK {pending2}\r\n","UTF-8"))
property_list[pending2] = property_list.pop(pending) property_list[pending2] = property_list.pop(pending)
nickname_list[pending2] = nickname_list.pop(pending) nickname_list[pending2] = nickname_list.pop(pending)
del lower_nicks[pending.lower()] del lower_nicks[pending.lower()]