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
commiteaac53d041b3af90f8e2dc5770deab30708e1880 (patch)
treeabaf1288c0f2d61cd778b5469e03e5c11e54bede /util
parent831dceeba33edcdb71b58dec6cc6741165307eb9 (diff)
downloadprosody-eaac53d041b3af90f8e2dc5770deab30708e1880.tar.gz
prosody-eaac53d041b3af90f8e2dc5770deab30708e1880.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