Fixed a typo in a variable which caused an exception

This commit is contained in:
Vincent Foley 2004-01-09 22:01:54 +00:00
parent 049839cda0
commit 9f96715768

View File

@ -287,7 +287,7 @@ class Words(callbacks.Privmsg, configurable.Mixin):
secondsEllapsed = time.time() - game.timeGuess secondsEllapsed = time.time() - game.timeGuess
if secondsEllapsed > game.timeout: if secondsEllapsed > game.timeout:
self.endGame(channel) self.endGame(channel)
self.newhangman(irc, msg, args) self.hangman(irc, msg, args)
else: else:
irc.error(msg, 'Sorry, there is already a game going on. ' irc.error(msg, 'Sorry, there is already a game going on. '
'%s left before timeout.' % utils.nItems('seconds', '%s left before timeout.' % utils.nItems('seconds',