aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-18 13:23:52 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-18 13:23:52 +0100
commitfe83df56a9dbcf21cf17010d06f82571637089fb (patch)
treeca1dee1fa75e6f2cfba68d587385d1fabfe6b338 /util
parent4d37f9c8a9d9f45e7013f4e7c3c6f3841da79a9d (diff)
downloadprosody-fe83df56a9dbcf21cf17010d06f82571637089fb.tar.gz
prosody-fe83df56a9dbcf21cf17010d06f82571637089fb.zip
util.pubsub: Add comment to clarify return values
Diffstat (limited to 'util')
-rw-r--r--util/pubsub.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index be3f0e7c..f9ae0998 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -582,6 +582,7 @@ function service:get_last_item(node, actor)
return false, "forbidden";
end
--
+ -- Returns success, id, item
return true, self.data[node]:tail();
end