From 0620a25e254ef0659fc1ea53ea5521d1e4b12199 Mon Sep 17 00:00:00 2001 From: HarHar Date: Thu, 24 Jan 2013 21:56:42 -0200 Subject: [PATCH] [irc] *ahem* --- syncplay/ircBot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/ircBot.py b/syncplay/ircBot.py index ef2f453..2261298 100644 --- a/syncplay/ircBot.py +++ b/syncplay/ircBot.py @@ -160,7 +160,7 @@ class Bot(object): users = self.functions[4](room) for u in users: if u['nick'] == nickFrom: - self.functions[5](nickFrom, True) + self.functions[0](nickFrom, True) return self.msg(to, chr(3) + '5Error!' + chr(15) + ' Your nick was not found on the server') elif split[0].lower() == '!play': @@ -170,7 +170,7 @@ class Bot(object): users = self.functions[4](room) for u in users: if u['nick'] == nickFrom: - self.functions[5](nickFrom, False) + self.functions[0](nickFrom, False) return self.msg(to, chr(3) + '5Error!' + chr(15) + ' Your nick was not found on the server') elif split[0].lower() == '!help':