mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Channel: Use exact hostmask if provided.
This commit is contained in:
parent
fe9c28ffa8
commit
c8dc3eac16
@ -548,7 +548,7 @@ class Channel(callbacks.Plugin):
|
||||
c.addBan(banmask, expires)
|
||||
ircdb.channels.setChannel(channel, c)
|
||||
irc.replySuccess()
|
||||
add = wrap(add, ['op', 'banmask', additional('expiry', 0)])
|
||||
add = wrap(add, ['op', first('hostmask', 'banmask'), additional('expiry', 0)])
|
||||
|
||||
@internationalizeDocstring
|
||||
def remove(self, irc, msg, args, channel, banmask):
|
||||
|
Loading…
Reference in New Issue
Block a user