We were just checking if arbitrary
was falsey, thus losing empty trailing args
(' :' with nothing after it) (utils.irc)
This commit is contained in:
parent
1f1a19b5b6
commit
e1de8cd9be
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def parse_line(line: str) -> IRCParsedLine:
|
|||
# this is so that `args` is empty if `line` is empty
|
||||
args = line.split(" ")
|
||||
|
||||
if arbitrary:
|
||||
if not arbitrary == None:
|
||||
args.append(arbitrary)
|
||||
|
||||
return IRCParsedLine(tags, prefix, command, IRCArgs(args), has_arbitrary)
|
||||
|
|
Loading…
Reference in a new issue