From 76186bc17b14fb5c873900e0d75cb2492acc6ed3 Mon Sep 17 00:00:00 2001 From: HarHar Date: Thu, 24 Jan 2013 21:22:32 -0200 Subject: [PATCH] [irc] REALLY FIXES IT THIS TIME --- syncplay/ircBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/ircBot.py b/syncplay/ircBot.py index 12cdb84..7516194 100644 --- a/syncplay/ircBot.py +++ b/syncplay/ircBot.py @@ -183,7 +183,7 @@ def handlingThread(sock, bot): lsplit = line.split(':') if len(lsplit) >= 2: - if lsplit[1].split(' ') > 1: + if len(lsplit[1].split(' ')) >= 2: if lsplit[1].split(' ')[1] == '404': bot.join(bot.channel, bot.channelPassword)