!cunmute needs an event arg

This commit is contained in:
jesopo 2020-01-25 11:21:55 +00:00
parent 09fa9363b3
commit 50f7985c6d

View file

@ -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):