idle-notify un-away messages don't have *any* args - this caused BitBot to crash
in IRCLineHandler.handle
This commit is contained in:
parent
b989b720eb
commit
e5e9a6fc65
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@ class LineHandler(object):
|
|||
tags[tag_split[0]] = "".join(tag_split[1:])
|
||||
|
||||
if line[0] == ":":
|
||||
prefix, command, line = line[1:].split(" ", 2)
|
||||
prefix, command = line[1:].split(" ", 1)
|
||||
if " " in command:
|
||||
command, line = command.split(" ", 1)
|
||||
else:
|
||||
command, line = line.split(" ", 1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue