Update server.py

This commit is contained in:
Nova Cat 2024-12-12 13:46:35 -08:00
parent cc657461b9
commit 3245e9cd98

View file

@ -224,6 +224,7 @@ def session(connection, client):
print("starting pinger...") print("starting pinger...")
pending = pending2 pending = pending2
property_list[pending2]["ping_pending"] = False property_list[pending2]["ping_pending"] = False
property_list[pending2]["last_ping"] = time.time()
threading.Thread(target=pinger, args=[pending, connection]).start() threading.Thread(target=pinger, args=[pending, connection]).start()
print(f"User {pending} set nick") print(f"User {pending} set nick")
elif command == "PART": elif command == "PART":