From 3ac7fd5cd7a0290849950af2ff0515bb5bde0f9e Mon Sep 17 00:00:00 2001 From: rootcoma Date: Fri, 15 Nov 2013 22:14:03 -0800 Subject: [PATCH] Fixing stopping from outside of channel --- plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index f5aa8da..7d7408e 100644 --- a/plugin.py +++ b/plugin.py @@ -694,11 +694,10 @@ class TriviaTime(callbacks.Plugin): irc.noReply() start = wrap(start) - def stop(self, irc, msg, channel, args): + def stop(self, irc, msg, args, channel): """[] Ends Trivia. Only use this if you know what you are doing.. Channel is only necessary when editing from outside of the channel """ - channel = msg.args[0] channelCanonical = ircutils.toLower(channel) if channelCanonical in self.games: if self.games[channelCanonical].questionOver == True: