diff --git a/src/core_modules/channel_access.py b/src/core_modules/channel_access.py index d9988246..bd259eda 100644 --- a/src/core_modules/channel_access.py +++ b/src/core_modules/channel_access.py @@ -42,8 +42,9 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.command.access") @utils.kwarg("require_mode", "high") - @utils.spec("!'list !ouser") - @utils.spec("!'add,remove,set !ouser !string") + @utils.spec("!<#channel>r~channel !'list !ouser") + @utils.spec("!<#channel>r~channel !'add,remove,set !ouser " + "!string") def access(self, event): subcommand = event["spec"][0].lower() target = event["spec"][1]