From 0b66abaf5b38d554d2c1007263ffb12bf604126c Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 23 Feb 2016 19:12:22 +0000 Subject: [PATCH] Channel: Fix 'ignore remove' converter to work like 'ignore add'. --- plugins/Channel/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index 1a11cffd5..9a4db1c54 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -663,7 +663,7 @@ class Channel(callbacks.Plugin): @internationalizeDocstring def remove(self, irc, msg, args, channel, banmask): - """[] + """[] If you have the #channel,op capability, this will remove the persistent ignore on in the channel. is only @@ -676,7 +676,7 @@ class Channel(callbacks.Plugin): irc.replySuccess() except KeyError: irc.error(_('There are no ignores for that hostmask.')) - remove = wrap(remove, ['op', 'hostmask']) + remove = wrap(remove, ['op', 'banmask']) @internationalizeDocstring def list(self, irc, msg, args, channel):