When we get a command without *any* arguments e.g. ":nick!user@host AWAY" don't

continue to parse that when we've seperated hostmask and command
This commit is contained in:
jesopo 2018-09-17 20:19:57 +01:00
parent 17f318acb6
commit c3e667e0a1

View file

@ -79,6 +79,8 @@ class LineHandler(object):
prefix = Utils.seperate_hostmask(prefix)
if " " in command:
command, line = command.split(" ", 1)
else:
line = ""
else:
command = line
if " " in line: