projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modulemanager: Add module:set_global() as a cleaner way for a module to declare itsel...
[prosody.git]
/
core
/
discomanager.lua
diff --git
a/core/discomanager.lua
b/core/discomanager.lua
index 21080635fcebc48e076e447da5b0c5399094a0eb..fe63f972cc0453eec3193a1970d41737a31f83ce 100644
(file)
--- a/
core/discomanager.lua
+++ b/
core/discomanager.lua
@@
-41,6
+41,11
@@
do
return true;
\r
end
\r
end);
\r
+ helper:addDiscoItemsHandler("*host", function(reply, to, from, node)
+ if hosts[to] and hosts[to].type == "local" then
+ return true;
+ end
+ end);
end
\r
\r
module "discomanager"
\r