core/modulemanager.lua

changeset 3758
41f174b61b6a
parent 3677
dad563ed54aa
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