copypaste name collision for channel_op.py's op
function
This commit is contained in:
parent
8a2e364ffd
commit
0d9bd57332
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.kwarg("require_mode", "o")
|
@utils.kwarg("require_mode", "o")
|
||||||
@utils.kwarg("require_access", "voice")
|
@utils.kwarg("require_access", "voice")
|
||||||
@utils.kwarg("usage", "[nickname]")
|
@utils.kwarg("usage", "[nickname]")
|
||||||
def op(self, event):
|
def voice(self, event):
|
||||||
add = event.name == "received.command.voice"
|
add = event.name == "received.command.voice"
|
||||||
target = event["args_split"][0] if event["args"] else event[
|
target = event["args_split"][0] if event["args"] else event[
|
||||||
"user"].nickname
|
"user"].nickname
|
||||||
|
|
Loading…
Reference in a new issue