Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
3758:41f174b61b6a | 3759:1f7305784e12 |
---|---|
75 return node_obj.data; | 75 return node_obj.data; |
76 end | 76 end |
77 end | 77 end |
78 end | 78 end |
79 | 79 |
80 function service:get_nodes(actor) | |
81 return true, self.nodes; | |
82 end | |
83 | |
80 return _M; | 84 return _M; |