core.modulemanager: Remove compat for mod_console rename in 0.8
authorKim Alvefur <zash@zash.se>
Wed, 05 Jan 2022 04:04:45 +0100
changeset 12150 9c69c062d6b7
parent 12149 212bac94aedd
child 12151 02481502c3dc
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
--- 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");