mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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)
|
c.addBan(banmask, expires)
|
||||||
ircdb.channels.setChannel(channel, c)
|
ircdb.channels.setChannel(channel, c)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
add = wrap(add, ['op', 'banmask', additional('expiry', 0)])
|
add = wrap(add, ['op', first('hostmask', 'banmask'), additional('expiry', 0)])
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def remove(self, irc, msg, args, channel, banmask):
|
def remove(self, irc, msg, args, channel, banmask):
|
||||||
|
Loading…
Reference in New Issue
Block a user