From db2f27a7710a43b4d5241970cc5f7419ad2087fc Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 21 Feb 2020 20:34:54 +0000 Subject: support `user` (as well as `cuser`) for user object mask banning --- modules/channel_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/channel_op.py b/modules/channel_op.py index 144b2aea..6c94d779 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -96,7 +96,7 @@ class Module(ModuleManager.BaseModule): args=args) def _mask_spec(self, channel, spec): - if spec[0] == "cuser": + if spec[0] in ["user", "cuser"]: return [self._get_hostmask(channel, spec[1])] elif spec[0] == "cmask": return [self._get_hostmask(channel, u) for u in spec[1]] -- cgit v1.3.1-10-gc9f91