aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-21 22:21:18 +0200
committerKim Alvefur <zash@zash.se>2018-10-21 22:21:18 +0200
commitf58d3968868889973e32cff3fb3bc47ef7686a39 (patch)
treeabaf1288c0f2d61cd778b5469e03e5c11e54bede /util
parent96232750af09696d91445ea018b629e910318fca (diff)
downloadprosody-f58d3968868889973e32cff3fb3bc47ef7686a39.tar.gz
prosody-f58d3968868889973e32cff3fb3bc47ef7686a39.zip
util.pubsub: Clarify comment about return value
Diffstat (limited to 'util')
-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