diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-10 22:27:09 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-10 22:27:09 +0500 |
commit | 0bcc5e0ac77e6bdc584aaaa042978f28ce1e5483 (patch) | |
tree | d7159833458ab37829213a415227ed7ad21e5de4 | |
parent | 70a1720215ff0fca915e54b0a5856f9c150999c9 (diff) | |
download | prosody-0bcc5e0ac77e6bdc584aaaa042978f28ce1e5483.tar.gz prosody-0bcc5e0ac77e6bdc584aaaa042978f28ce1e5483.zip |
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').
-rw-r--r-- | core/modulemanager.lua | 1 | ||||
-rw-r--r-- | core/usermanager.lua | 1 |
2 files changed, 0 insertions, 2 deletions
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); |