This commit is contained in:
Valentin Lorentz 2012-04-04 15:44:57 +02:00
parent 113ddf8c69
commit bad5364e28

View File

@ -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."""