# HG changeset patch # User Waqas Hussain # Date 1289410029 -18000 # Node ID ae0f83feaff45eb39f6d8411a6042a7b31c32eb0 # Parent e1259b6d7560d177e6959676c6b27ad21e25a7db modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). diff -r e1259b6d7560 -r ae0f83feaff4 core/modulemanager.lua --- 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) diff -r e1259b6d7560 -r ae0f83feaff4 core/usermanager.lua --- 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);