prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.

This commit is contained in:
Waqas Hussain 2010-11-10 20:59:16 +05:00
parent 072e5be5d2
commit d38fc9dce0
5 changed files with 1 additions and 17 deletions

View file

@ -16,7 +16,6 @@ end
local jid_split, jid_join, jid_compare = require "util.jid".split, require "util.jid".join, require "util.jid".compare;
local st = require "util.stanza";
local componentmanager = require "core.componentmanager";
local config_get = require "core.configmanager".get;
local connlisteners = require "net.connlisteners";
local sha1 = require "util.hashes".sha1;
@ -185,7 +184,6 @@ local function get_stream_host(origin, stanza)
end
module.unload = function()
componentmanager.deregister_component(host);
connlisteners.deregister(module.host .. ':proxy65');
end
@ -260,4 +258,3 @@ if not connlisteners.register(module.host .. ':proxy65', connlistener) then
end
connlisteners.start(module.host .. ':proxy65');
component = componentmanager.register_component(host, function() end);