diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-21 22:21:18 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-21 22:21:18 +0200 |
commit | f58d3968868889973e32cff3fb3bc47ef7686a39 (patch) | |
tree | abaf1288c0f2d61cd778b5469e03e5c11e54bede /util | |
parent | 96232750af09696d91445ea018b629e910318fca (diff) | |
download | prosody-f58d3968868889973e32cff3fb3bc47ef7686a39.tar.gz prosody-f58d3968868889973e32cff3fb3bc47ef7686a39.zip |
util.pubsub: Clarify comment about return value
Diffstat (limited to 'util')
-rw-r--r-- | util/pubsub.lua | 2 |
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 |