aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-12 23:13:02 +0100
committerGravatar jesopo2019-09-12 23:13:02 +0100
commit710caebbc4d638d391df7f89923cfd6cc9545c2b (patch)
tree3625af1d500e57dab15dee1c0730b9d572710af6
parentonly apply modes for !flags when the user doesn't have them already (diff)
signature
_parse_flags() should always return 2 objects
-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 04fc67e7..1f1ae1e4 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -239,7 +239,7 @@ class Module(ModuleManager.BaseModule):
elif s[0] == "-":
return False, list(s[1:])
else:
- return None
+ return None, None
@utils.hook("received.command.flags")
@utils.kwarg("channel_only", True)