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 45a5aab6..fafae50a 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -762,7 +762,7 @@ function service:set_node_config(node, actor, new_config) --> ok, err
return true;
end
-function service:get_node_config(node, actor) --> ok, err
+function service:get_node_config(node, actor) --> (true, config) or (false, err)
if not self:may(node, actor, "get_configuration") then
return false, "forbidden";
end