mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +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
|
@internationalizeDocstring
|
||||||
def remove(self, irc, msg, args, channel, banmask):
|
def remove(self, irc, msg, args, channel, banmask):
|
||||||
"""[<channel>] <hostmask>
|
"""[<channel>] <nick|hostmask>
|
||||||
|
|
||||||
If you have the #channel,op capability, this will remove the
|
If you have the #channel,op capability, this will remove the
|
||||||
persistent ignore on <hostmask> in the channel. <channel> is only
|
persistent ignore on <hostmask> in the channel. <channel> is only
|
||||||
@ -676,7 +676,7 @@ class Channel(callbacks.Plugin):
|
|||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(_('There are no ignores for that hostmask.'))
|
irc.error(_('There are no ignores for that hostmask.'))
|
||||||
remove = wrap(remove, ['op', 'hostmask'])
|
remove = wrap(remove, ['op', 'banmask'])
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def list(self, irc, msg, args, channel):
|
def list(self, irc, msg, args, channel):
|
||||||
|
Loading…
Reference in New Issue
Block a user