core/modulemanager.lua

changeset 3878
c9de91c4173f
parent 3801
ecb7f06c940c
child 3967
1a9bcbaeb55a
--- a/core/modulemanager.lua	Fri Dec 17 01:24:59 2010 +0000
+++ b/core/modulemanager.lua	Fri Dec 17 12:44:24 2010 +0000
@@ -77,6 +77,13 @@
 	end
 	local modules = global_modules + host_modules;
 	
+	-- 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 component then
 		load(host, component);
 	end

mercurial