aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modulemanager.lua1
-rw-r--r--core/usermanager.lua1
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);