From 710caebbc4d638d391df7f89923cfd6cc9545c2b Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 12 Sep 2019 23:13:02 +0100 Subject: [PATCH] _parse_flags() should always return 2 objects --- modules/channel_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)