Update server.py
This commit is contained in:
parent
9e7f44374a
commit
664987d1af
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ def session(connection, client):
|
||||||
print(pending + " replied to PING.")
|
print(pending + " replied to PING.")
|
||||||
property_list[pending]["last_ping"] = time.time()
|
property_list[pending]["last_ping"] = time.time()
|
||||||
property_list[pending]["ping_pending"] = False
|
property_list[pending]["ping_pending"] = False
|
||||||
if command == "NICK":
|
elif command == "NICK":
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8"))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue