From 0d9bd57332644c0037d5586453a1437d3160e921 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 30 Aug 2019 12:26:52 +0100 Subject: [PATCH] copypaste name collision for channel_op.py's `op` function --- 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 42f65305..b4161f6c 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -136,7 +136,7 @@ class Module(ModuleManager.BaseModule): @utils.kwarg("require_mode", "o") @utils.kwarg("require_access", "voice") @utils.kwarg("usage", "[nickname]") - def op(self, event): + def voice(self, event): add = event.name == "received.command.voice" target = event["args_split"][0] if event["args"] else event[ "user"].nickname