From 7c7835a3d6520acb8bc8749bef10bcf4a74c7bb4 Mon Sep 17 00:00:00 2001 From: James Scott Date: Thu, 13 Dec 2012 23:04:39 -0500 Subject: [PATCH] fixed passthough command --- plugin.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index 0efe540..7257134 100644 --- a/plugin.py +++ b/plugin.py @@ -218,14 +218,16 @@ class Cah(callbacks.Plugin): Class = CahGame ###### CHANNEL COMMANDS ###### - def startgame(self,irc, msg, args): + def forcestartgame(self, irc, msg, args): if channel in self.games: try: schedule.removeEvent("start_game_%s" % self.channel) except: pass self.games[channel].startgame() - + else: + irc.reply("Game not running.") + def playing(self, irc, msg, args): channel = ircutils.toLower(msg.args[0]) nick = msg.nick