From a9b63279a61a6b693a6a79e0deecae86d52ec788 Mon Sep 17 00:00:00 2001 From: BananaObserved Date: Sat, 13 Sep 2014 17:13:10 -0500 Subject: [PATCH] Update bot.py This causes the bot to ignore multiple spaces. --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index e31abb8..0f44447 100644 --- a/bot.py +++ b/bot.py @@ -115,7 +115,7 @@ def process_newcomers(bot, newcomerlist, ircsock, welcome=1): def parse_messages(ircmsg): try: actor = ircmsg.split(":")[1].split("!")[0] # and get the nick of the msg sender - return ircmsg, actor + return " ".join(ircmsg.split()), actor except: return None, None