From 0a6d38f37a180abd6a7564a502af53fe91dcfb80 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 9 Jul 2011 14:05:28 +0200 Subject: [PATCH] Channel: fix NameError: 'replyirc' -> 'replyIrc'. Closes GH-73. Conflicts: src/version.py Signed-off-by: James McCoy (cherry picked from commit 8056da06f64796a981defffe7b6e0bac462f0175) Signed-off-by: Daniel Folkinshteyn --- plugins/Channel/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index a8f3ec0e8..f74e18863 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -419,7 +419,7 @@ class Channel(callbacks.Plugin): nick = msg.args[1] nick = ircutils.toLower(nick) replyIrc = self.invites.pop((irc, nick), None) - if replyirc is not None: + if replyIrc is not None: replyIrc.error(format('There is no %s on this server.', nick)) class lobotomy(callbacks.Commands):