Update server.py
This commit is contained in:
parent
01f04427ef
commit
92b053b024
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ def session(connection, client):
|
|||
connection.close()
|
||||
break
|
||||
|
||||
|
||||
elif text.split(" ")[0] == "":
|
||||
pass
|
||||
else:
|
||||
cmd = text.split(" ")[0]
|
||||
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))
|
||||
|
|
Loading…
Reference in a new issue