Diff

util/pubsub.lua @ 3759:1f7305784e12

util.pubsub: Add service:get_nodes()
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Dec 2010 13:23:01 +0000
parent 3699:150e58d69e60
child 3909:c2dc7f7eed94
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;