diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index ec44d1037..dbaf6dc51 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -474,7 +474,7 @@ class Channel(callbacks.Plugin): c.addBan(banmask, expires) ircdb.channels.setChannel(channel, c) irc.replySuccess() - add = wrap(add, ['op', 'hostmask', additional('expiry', 0)]) + add = wrap(add, ['op', 'banmask', additional('expiry', 0)]) def remove(self, irc, msg, args, channel, banmask): """[] @@ -530,7 +530,7 @@ class Channel(callbacks.Plugin): c.addIgnore(banmask, expires) ircdb.channels.setChannel(channel, c) irc.replySuccess() - add = wrap(add, ['op', 'hostmask', additional('expiry', 0)]) + add = wrap(add, ['op', 'banmask', additional('expiry', 0)]) def remove(self, irc, msg, args, channel, banmask): """[]