aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-25 11:21:55 +0000
committerGravatar jesopo2020-01-25 11:21:55 +0000
commit50f7985c6d99a21dbbf2fd81fe0c040733df315c (patch)
treee87b33c6bea34b3c36871d63217434e8fd8fed2b /modules
parentsupport e.g. "!r~channel" spec to change the context of "!cuser" (diff)
signature
!cunmute needs an `event` arg
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 80293c33..ddbb30bc 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -374,7 +374,7 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("require_access", "cmute")
@utils.kwarg("help", "Mute the current channel")
@utils.kwarg("spec", "!r~channel")
- def cunmute(self):
+ def cunmute(self, event):
self._cunmute(event["spec"][0])
def _cunmute(self, channel):