Diff

util/pubsub.lua @ 9195:b6ffd4f951b9

util.pubsub: Add comment to clarify return values
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 Aug 2018 13:23:52 +0100
parent 9179:82fad995a149
child 9200:249d90ff992e
line wrap: on
line diff
--- a/util/pubsub.lua	Sat Aug 18 14:06:23 2018 +0200
+++ b/util/pubsub.lua	Sat Aug 18 13:23:52 2018 +0100
@@ -582,6 +582,7 @@
 		return false, "forbidden";
 	end
 	--
+	-- Returns success, id, item
 	return true, self.data[node]:tail();
 end