fixed passthough command
This commit is contained in:
parent
1d53b23b3c
commit
7c7835a3d6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue