diff options
| author | 2020-02-21 20:34:54 +0000 | |
|---|---|---|
| committer | 2020-02-21 20:34:54 +0000 | |
| commit | db2f27a7710a43b4d5241970cc5f7419ad2087fc (patch) | |
| tree | d033474460724c22f8981b154d3c43ddce2f2bb2 /modules/channel_op.py | |
| parent | update channel_op.py ban formatting to use ${} (diff) | |
| signature | ||
support `user` (as well as `cuser`) for user object mask banning
Diffstat (limited to 'modules/channel_op.py')
| -rw-r--r-- | modules/channel_op.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]] |
