Software /
code /
prosody
Diff
plugins/mod_component.lua @ 3604:3e89f0509967
prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 20:59:16 +0500 |
parent | 3587:d94aacb2771a |
child | 3615:c72d24c2d97b |
line wrap: on
line diff
--- a/plugins/mod_component.lua Wed Nov 10 20:51:23 2010 +0500 +++ b/plugins/mod_component.lua Wed Nov 10 20:59:16 2010 +0500 @@ -15,8 +15,6 @@ 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("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;