mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.
This commit is contained in:
parent
072e5be5d2
commit
d38fc9dce0
5 changed files with 1 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue