This commit is contained in:
parent
2ed7ec5de1
commit
02e020ff76
1 changed files with 1 additions and 0 deletions
|
@ -717,6 +717,7 @@ def session(connection, client, ip, isssl=False):
|
||||||
# Unknown command
|
# Unknown command
|
||||||
cmd = text.split(" ")[0]
|
cmd = text.split(" ")[0]
|
||||||
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))
|
||||||
|
pendingCommands = []
|
||||||
else:
|
else:
|
||||||
pendingCommands.append(text)
|
pendingCommands.append(text)
|
||||||
except ssl.SSLEOFError:
|
except ssl.SSLEOFError:
|
||||||
|
|
Loading…
Add table
Reference in a new issue