aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-08-30 12:26:52 +0100
committerGravatar jesopo2019-08-30 12:26:52 +0100
commit0d9bd57332644c0037d5586453a1437d3160e921 (patch)
tree4af5d0ba2e1e926423f011f3279698afe3a9b7a4 /modules
parentalso support 'realname' in !editserver (diff)
signature
copypaste name collision for channel_op.py's `op` function
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