fixed eol in commands
e.g. /exec commands that output \r\n line endings would send to server " :Unknown command"
This commit is contained in:
parent
432ca3ea75
commit
4261ad6da3
@ -127,7 +127,8 @@ def cb_colo (data, mod, buf, input):
|
|||||||
input = input.split(" ", 1)[1] if " " in input else ""
|
input = input.split(" ", 1)[1] if " " in input else ""
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
return input
|
# XXX
|
||||||
|
return input.replace('\r','')
|
||||||
|
|
||||||
if input.startswith("//"): input = input[1:]
|
if input.startswith("//"): input = input[1:]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user