diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index db1e057d4..5b04ad235 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -554,6 +554,13 @@ class Channel(callbacks.Plugin): list = wrap(list) class ban(callbacks.Commands): + def hostmask(self, irc, msg, args, channel, banmask): + """[] + + Bans the from the .""" + irc.queueMsg(ircmsgs.ban(channel, banmask)) + hostmask = wrap(hostmask, ['op', ('haveHalfop+', _('ban someone')), 'text']) + @internationalizeDocstring def add(self, irc, msg, args, channel, banmask, expires): """[] []