# HG changeset patch # User Kim Alvefur # Date 1574547063 -3600 # Node ID 7777f25d5266ef882cdb0806290cbbd3ae487748 # Parent 7b5a3de26f57c367ca185776b728837e89575e03 core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to prevent conflict (#1469) diff -r 7b5a3de26f57 -r 7777f25d5266 core/modulemanager.lua --- 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