Changeset

3879:f67427331d23

util.pubsub: Add service:get_nodes()
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Dec 2010 13:23:01 +0000
parents 3878:c9de91c4173f
children 3880:2b736209bf21
files util/pubsub.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/pubsub.lua	Fri Dec 17 12:44:24 2010 +0000
+++ b/util/pubsub.lua	Fri Dec 17 13:23:01 2010 +0000
@@ -77,4 +77,8 @@
 	end
 end
 
+function service:get_nodes(actor)
+	return true, self.nodes;
+end
+
 return _M;