util.pubsub: Clarify comment about return value
authorKim Alvefur <zash@zash.se>
Sun, 21 Oct 2018 22:21:18 +0200
changeset 9542 b30455212f89
parent 9541 07665733b332
child 9543 8cdd7fec6aa7
util.pubsub: Clarify comment about return value
util/pubsub.lua
--- 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