From d38fc9dce0db97545b1f8b5dd79be2868bd66c93 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 10 Nov 2010 20:59:16 +0500 Subject: prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file. --- plugins/mod_component.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins/mod_component.lua') diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 1bbbd03d..4e1f31cb 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -15,8 +15,6 @@ local hosts = _G.hosts; local t_concat = table.concat; local config = require "core.configmanager"; -local cm_register_component = require "core.componentmanager".register_component; -local cm_deregister_component = require "core.componentmanager".deregister_component; local sha1 = require "util.hashes".sha1; local st = require "util.stanza"; @@ -55,8 +53,6 @@ module:hook("iq/host", handle_stanza); module:hook("message/host", handle_stanza); module:hook("presence/host", handle_stanza); -cm_register_component(module.host, function() end); - --- Handle authentication attempts by components function handle_component_auth(event) local session, stanza = event.origin, event.stanza; -- cgit v1.2.3