it helps to have code that actually will raise the exception you are catching.

This commit is contained in:
James Scott 2012-12-13 20:16:17 -05:00
parent 3681e0086a
commit 3d3952fa09
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ class Cah(callbacks.Plugin):
else:
numrounds = args[0]
try:
game = self.games[channel]
irc.reply("A game is running, please wait till it is finished to start a new one.")
except:
channelGame = {}