aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index b12e5246..1363bcb5 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -235,7 +235,7 @@ end
function service:get_nodes(actor)
-- Access checking
- if not self:may(node, actor, "get_nodes") then
+ if not self:may(nil, actor, "get_nodes") then
return false, "forbidden";
end
--