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 | eaac53d041b3af90f8e2dc5770deab30708e1880 (patch) | |
tree | abaf1288c0f2d61cd778b5469e03e5c11e54bede /util/pubsub.lua | |
parent | 831dceeba33edcdb71b58dec6cc6741165307eb9 (diff) | |
download | prosody-eaac53d041b3af90f8e2dc5770deab30708e1880.tar.gz prosody-eaac53d041b3af90f8e2dc5770deab30708e1880.zip |
util.pubsub: Clarify comment about return value
Diffstat (limited to 'util/pubsub.lua')
-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 |