From c3e667e0a1affc4ca81c0932d63b29187e787e61 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 17 Sep 2018 20:19:57 +0100 Subject: [PATCH] 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 --- IRCLineHandler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRCLineHandler.py b/IRCLineHandler.py index 996c837f..e410027e 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -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: