Changeset

3608:ae0f83feaff4

modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').
author Waqas Hussain <waqas20@gmail.com>
date Wed, 10 Nov 2010 22:27:09 +0500
parents 3607:e1259b6d7560
children 3609:954b1159f2f3
files core/modulemanager.lua core/usermanager.lua
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/core/modulemanager.lua	Wed Nov 10 22:02:28 2010 +0500
+++ b/core/modulemanager.lua	Wed Nov 10 22:27:09 2010 +0500
@@ -85,7 +85,6 @@
 	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)
--- a/core/usermanager.lua	Wed Nov 10 22:02:28 2010 +0500
+++ b/core/usermanager.lua	Wed Nov 10 22:27:09 2010 +0500
@@ -57,7 +57,6 @@
 	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);