Update server.py
This commit is contained in:
parent
7b931e8dd1
commit
584f1d9d0e
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ def session(connection, client):
|
||||||
elif 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"))
|
||||||
|
elif text.split(" ")[1] == pending:
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
pending2 = text.split(" ")[1]
|
pending2 = text.split(" ")[1]
|
||||||
if pending2[0] == ":": pending2[1:]
|
if pending2[0] == ":": pending2[1:]
|
||||||
|
|
Loading…
Reference in a new issue