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 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