Changeset

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
parents 12145:212bac94aedd
children 12147:02481502c3dc
files core/modulemanager.lua
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
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");