From 0bcc5e0ac77e6bdc584aaaa042978f28ce1e5483 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 10 Nov 2010 22:27:09 +0500 Subject: modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). --- core/modulemanager.lua | 1 - core/usermanager.lua | 1 - 2 files changed, 2 deletions(-) (limited to 'core') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 67a77af6..49ad12ac 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -85,7 +85,6 @@ function load_modules_for_host(host) end end prosody_events.add_handler("host-activated", load_modules_for_host); -prosody_events.add_handler("component-activated", load_modules_for_host); -- function load(host, module_name, config) diff --git a/core/usermanager.lua b/core/usermanager.lua index 153be63e..83de193f 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -57,7 +57,6 @@ function initialize_host(host) end end; prosody.events.add_handler("host-activated", initialize_host, 100); -prosody.events.add_handler("component-activated", initialize_host, 100); function test_password(username, host, password) return hosts[host].users.test_password(username, password); -- cgit v1.2.3