mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Channel: Fix 'ignore remove' converter to work like 'ignore add'.
This commit is contained in:
parent
b34ee949cb
commit
0b66abaf5b
@ -663,7 +663,7 @@ class Channel(callbacks.Plugin):
|
||||
|
||||
@internationalizeDocstring
|
||||
def remove(self, irc, msg, args, channel, banmask):
|
||||
"""[<channel>] <hostmask>
|
||||
"""[<channel>] <nick|hostmask>
|
||||
|
||||
If you have the #channel,op capability, this will remove the
|
||||
persistent ignore on <hostmask> in the channel. <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):
|
||||
|
Loading…
Reference in New Issue
Block a user