Software /
code /
prosody
Changeset
9539:b30455212f89
util.pubsub: Clarify comment about return value
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 21 Oct 2018 22:21:18 +0200 |
parents | 9538:07665733b332 |
children | 9540:8cdd7fec6aa7 |
files | util/pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/pubsub.lua Sat Oct 20 20:23:23 2018 +0200 +++ b/util/pubsub.lua Sun Oct 21 22:21:18 2018 +0200 @@ -762,7 +762,7 @@ 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