Fix a bug in error reporting.

This commit is contained in:
Mike Mueller 2012-02-24 01:04:10 -08:00
parent e74ca803fe
commit 25136ae926
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class WordTwist(BaseGame):
for i in range(0, len(words)-1):
if not self._valid_pair(words[i+1], words[i]):
self.send("%s: %s is not a twist of %s." %
(nick, words[1], words[0]))
(nick, words[i+1], words[i]))
return False
return True