core/discomanager.lua

changeset 648
3f34b83771eb
parent 615
4ae3e81513f3
child 758
b1885732e979
--- a/core/discomanager.lua	Thu Dec 25 03:11:15 2008 +0000
+++ b/core/discomanager.lua	Fri Dec 26 21:46:05 2008 +0500
@@ -41,6 +41,11 @@
 			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"

mercurial