Software /
code /
prosody
Diff
util/pubsub.lua @ 9539:b30455212f89
util.pubsub: Clarify comment about return value
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 21 Oct 2018 22:21:18 +0200 |
parent | 9516:038446c50630 |
child | 9742:18eca6afb367 |
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