From bad5364e28ae44502d4aaad05f126eb66030d809 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 4 Apr 2012 15:44:57 +0200 Subject: [PATCH] Fix commit ed5f79c0. --- src/ircmsgs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ircmsgs.py b/src/ircmsgs.py index bc3f6f338..fca51bdc3 100644 --- a/src/ircmsgs.py +++ b/src/ircmsgs.py @@ -524,8 +524,6 @@ def unbans(channel, hostmasks, prefix='', msg=None): prefix = msg.prefix return IrcMsg(prefix=prefix, command='MODE', args=[channel] + ircutils.joinModes(modes), msg=msg) - if msg and not prefix: - prefix = msg.prefix def kick(channel, nick, s='', prefix='', msg=None): """Returns a KICK to kick nick from channel with the message msg."""