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 | 50f360a5066db43fb615a0f0103144fb3f22eb14 (patch) | |
tree | abaf1288c0f2d61cd778b5469e03e5c11e54bede | |
parent | 6d2039efffe90919b9764b8ce244e92c1f851745 (diff) | |
download | prosody-50f360a5066db43fb615a0f0103144fb3f22eb14.tar.gz prosody-50f360a5066db43fb615a0f0103144fb3f22eb14.zip |
util.pubsub: Clarify comment about return value
-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 |