remove broken debug code

This commit is contained in:
Gordon Shumway 2019-12-07 23:22:26 -05:00 committed by GitHub
parent 63dd495fa6
commit 22dbfeb90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 17 deletions

View File

@ -396,24 +396,7 @@ class CAH(callbacks.Plugin):
irc.reply("I need a value between 1 and %s" % len(game.cardsPlayed))
else:
irc.reply("A Game is not running, or the time is not to vote.")
####DEBUG VOTING REMOVE LATER#####
# TODO: REMOVE THIS DEBUG CODE #
def endvote(self, irc, msg, args):
channel = ircutils.toLower(msg.args[0])
if channel in self.games:
try:
schedule.removeEvent("vote_%s" % self.channel)
except:
pass
self.games[channel].endvote()
else:
irc.reply("Game not running.")
###### END CHANNEL COMMANDS ######
Class = CAH