aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-18 12:47:37 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-18 12:47:37 +0500
commit694fbe8f7219e61132abe9ce1e88f15826e06bc3 (patch)
treefb8acaf336e1bd9c46593e5ca084c6a4a2d8bb41 /core
parent64787ed9eb5f0a5aa31ebe01d3c6360b017fbfbb (diff)
downloadprosody-694fbe8f7219e61132abe9ce1e88f15826e06bc3.tar.gz
prosody-694fbe8f7219e61132abe9ce1e88f15826e06bc3.zip
componentmanager: Removed disco#items hook, and reference to core.discomanager
Diffstat (limited to 'core')
-rw-r--r--core/componentmanager.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index 14f9105b..536d1633 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -6,8 +6,6 @@
-- COPYING file in the source package for more information.
--
-
-
local prosody = prosody;
local log = require "util.logger".init("componentmanager");
local configmanager = require "core.configmanager";
@@ -25,14 +23,6 @@ local components = {};
local disco_items = require "util.multitable".new();
local NULL = {};
-require "core.discomanager".addDiscoItemsHandler("*host", function(reply, to, from, node)
- if #node == 0 and hosts[to] then
- for jid in pairs(disco_items:get(to) or NULL) do
- reply:tag("item", {jid = jid}):up();
- end
- return true;
- end
-end);
prosody.events.add_handler("server-starting", function () core_route_stanza = _G.core_route_stanza; end);