core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to prevent conflict (#1469)
--- a/core/modulemanager.lua Sat Nov 23 23:10:39 2019 +0100
+++ b/core/modulemanager.lua Sat Nov 23 23:11:03 2019 +0100
@@ -63,6 +63,11 @@
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