projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b24916
)
util.pubsub: Add service:get_nodes()
author
Matthew Wild
<mwild1@gmail.com>
Fri, 17 Dec 2010 13:23:01 +0000
(13:23 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 17 Dec 2010 13:23:01 +0000
(13:23 +0000)
util/pubsub.lua
patch
|
blob
|
history
diff --git
a/util/pubsub.lua
b/util/pubsub.lua
index 02e845e192d0536da60094aa64989d7d20be7714..811f4a154c3ddbb25ef73183fc9020efcc9cf48e 100644
(file)
--- 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;