parent
87c3e1021e
commit
c31aa0443a
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ def session(connection, client, ip, isssl=False):
|
|||
connection.sendall(bytes(f":{server} 376 {pending} :End of /MOTD command\r\n", "UTF-8"))
|
||||
elif finished:
|
||||
pendingCommands += text
|
||||
for comd in pendingCommands.split("\r\n"):
|
||||
for comd in pendingCommands.replace("\r", "").split("\n"):
|
||||
command = comd.split(" ")[0].upper()
|
||||
args = comd.split(" ")[1:]
|
||||
text = comd
|
||||
|
|
Loading…
Add table
Reference in a new issue