Channel: fix NameError: 'replyirc' -> 'replyIrc'. Closes GH-73.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <vega.james@gmail.com>
(cherry picked from commit 8056da06f6)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
Valentin Lorentz 2011-07-09 14:05:28 +02:00 committed by Daniel Folkinshteyn
parent 11b5ca3fd7
commit 0a6d38f37a

View File

@ -419,7 +419,7 @@ class Channel(callbacks.Plugin):
nick = msg.args[1] nick = msg.args[1]
nick = ircutils.toLower(nick) nick = ircutils.toLower(nick)
replyIrc = self.invites.pop((irc, nick), None) 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)) replyIrc.error(format('There is no %s on this server.', nick))
class lobotomy(callbacks.Commands): class lobotomy(callbacks.Commands):