Software / code / prosody
Diff
core/modulemanager.lua @ 12146:9c69c062d6b7
core.modulemanager: Remove compat for mod_console rename in 0.8
Should no longer be needed, especially since mod_admin_telnet morphed
into mod_admin_shell and mod_admin_socket
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 05 Jan 2022 04:04:45 +0100 |
| parent | 12079:76a5c0261793 |
| child | 12253:57d35fcde488 |
line wrap: on
line diff
--- a/core/modulemanager.lua Wed Jan 05 04:37:14 2022 +0100 +++ b/core/modulemanager.lua Wed Jan 05 04:04:45 2022 +0100 @@ -76,13 +76,6 @@ end local modules = (global_modules + set.new(host_modules_enabled)) - set.new(host_modules_disabled); - -- COMPAT w/ pre 0.8 - if modules:contains("console") then - log("error", "The mod_console plugin has been renamed to mod_admin_telnet. Please update your config."); - modules:remove("console"); - 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");