From 25136ae926ff9f29d594fed63358dfee941ea1c6 Mon Sep 17 00:00:00 2001 From: Mike Mueller Date: Fri, 24 Feb 2012 01:04:10 -0800 Subject: [PATCH] Fix a bug in error reporting. --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 1c14f42..32a4dcc 100644 --- a/plugin.py +++ b/plugin.py @@ -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