core/modulemanager.lua

changeset 695
3384f2784795
parent 686
13ed38531f69
child 698
d8a678e40a0a
--- a/core/modulemanager.lua	Mon Jan 12 02:59:45 2009 +0000
+++ b/core/modulemanager.lua	Mon Jan 12 03:27:18 2009 +0000
@@ -68,11 +68,11 @@
 	local disabled_set = {};
 	if modules_enabled then
 		if modules_disabled then
-			for _, module in pairs(modules_disabled) do
+			for _, module in ipairs(modules_disabled) do
 				disabled_set[module] = true;
 			end
 		end
-		for _, module in pairs(modules_enabled) do
+		for _, module in ipairs(modules_enabled) do
 			if not disabled_set[module] then
 				load(host, module);
 			end

mercurial