!cunmute needs an event
arg
This commit is contained in:
parent
09fa9363b3
commit
50f7985c6d
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.kwarg("require_access", "cmute")
|
@utils.kwarg("require_access", "cmute")
|
||||||
@utils.kwarg("help", "Mute the current channel")
|
@utils.kwarg("help", "Mute the current channel")
|
||||||
@utils.kwarg("spec", "!r~channel")
|
@utils.kwarg("spec", "!r~channel")
|
||||||
def cunmute(self):
|
def cunmute(self, event):
|
||||||
self._cunmute(event["spec"][0])
|
self._cunmute(event["spec"][0])
|
||||||
|
|
||||||
def _cunmute(self, channel):
|
def _cunmute(self, channel):
|
||||||
|
|
Loading…
Reference in a new issue