aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/channel_op.py2
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]]