aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 5a45d6b6..456f09f6 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -79,6 +79,11 @@ local function get_modules_for_host(host)
modules:add("admin_telnet");
end
+ if modules:contains("vcard") and modules:contains("vcard_legacy") then
+ log("error", "The mod_vcard_legacy plugin replaces mod_vcard but both are enabled. Please update your config.");
+ modules:remove("vcard");
+ end
+
return modules, component;
end