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:
parent
17f318acb6
commit
c3e667e0a1
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class LineHandler(object):
|
||||||
prefix = Utils.seperate_hostmask(prefix)
|
prefix = Utils.seperate_hostmask(prefix)
|
||||||
if " " in command:
|
if " " in command:
|
||||||
command, line = command.split(" ", 1)
|
command, line = command.split(" ", 1)
|
||||||
|
else:
|
||||||
|
line = ""
|
||||||
else:
|
else:
|
||||||
command = line
|
command = line
|
||||||
if " " in line:
|
if " " in line:
|
||||||
|
|
Loading…
Reference in a new issue