configmanager: Switch back to returning 'ok' to signal config load success - fixes config errors not being displayed

Sat, 18 Dec 2010 23:15:58 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 18 Dec 2010 23:15:58 +0000
changeset 3898
b1140808598b
parent 3897
ef645a5bb132
child 3899
eff0c5fe9119
child 3900
e1f19f437ddd

configmanager: Switch back to returning 'ok' to signal config load success - fixes config errors not being displayed

core/configmanager.lua file | annotate | diff | comparison | revisions
--- a/core/configmanager.lua	Sun Dec 19 00:53:19 2010 +0500
+++ b/core/configmanager.lua	Sat Dec 18 23:15:58 2010 +0000
@@ -102,7 +102,7 @@
 					config = config
 				});
 			end
-			return not not new_config, "parser", err;
+			return ok, "parser", err;
 		end
 		return f, "file", err;
 	end

mercurial