aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-11-10 20:59:16 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-11-10 20:59:16 +0500
commitd38fc9dce0db97545b1f8b5dd79be2868bd66c93 (patch)
tree0b9bc6f85b8cc29c750efef83e018f504b3d1e95 /plugins/mod_component.lua
parent072e5be5d27b809185daacc5e9b137f884b19fd1 (diff)
downloadprosody-d38fc9dce0db97545b1f8b5dd79be2868bd66c93.tar.gz
prosody-d38fc9dce0db97545b1f8b5dd79be2868bd66c93.zip
prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua4
1 files changed, 0 insertions, 4 deletions
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;