From 0736ecc63d66fe9b141a43793d72747c2c42b400 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 5 Jan 2022 04:04:45 +0100 Subject: 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 --- core/modulemanager.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 0ea6e1a1..03dd60a6 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -76,13 +76,6 @@ local function get_modules_for_host(host) 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"); -- cgit v1.2.3