Update server.py
This commit is contained in:
parent
cc657461b9
commit
3245e9cd98
1 changed files with 1 additions and 0 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue