diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-17 13:23:01 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-17 13:23:01 +0000 |
commit | eff22e5a5068cc632d5ca08b06145b1327306732 (patch) | |
tree | c406e59adfb0c07b63347449392d742b78a7f98c /util/pubsub.lua | |
parent | f0f0886c0d8438a2245185b1ba63a38593ea3d2a (diff) | |
download | prosody-eff22e5a5068cc632d5ca08b06145b1327306732.tar.gz prosody-eff22e5a5068cc632d5ca08b06145b1327306732.zip |
util.pubsub: Add service:get_nodes()
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r-- | util/pubsub.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index 02e845e1..811f4a15 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -77,4 +77,8 @@ function service:get(node, actor, id) end end +function service:get_nodes(actor) + return true, self.nodes; +end + return _M; |