aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/discomanager.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/discomanager.lua b/core/discomanager.lua
index 21080635..fe63f972 100644
--- a/core/discomanager.lua
+++ b/core/discomanager.lua
@@ -41,6 +41,11 @@ do
return true;
end
end);
+ helper:addDiscoItemsHandler("*host", function(reply, to, from, node)
+ if hosts[to] and hosts[to].type == "local" then
+ return true;
+ end
+ end);
end
module "discomanager"