aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IRCLineHandler.py2
1 files changed, 2 insertions, 0 deletions
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: