We don't fail if modules fail to load at startup :)
authorWaqas Hussain <waqas20@gmail.com>
Sun, 09 Nov 2008 05:24:47 +0500
changeset 230 e46525f5b2a4
parent 229 01bd24ea488d
child 231 24bcdaacc0bf
child 276 30893439d5d1
We don't fail if modules fail to load at startup :)
main.lua
--- a/main.lua	Sun Nov 09 04:26:25 2008 +0500
+++ b/main.lua	Sun Nov 09 05:24:47 2008 +0500
@@ -41,9 +41,7 @@
 -- Initialise modules
 if config.modules and #config.modules > 0 then
 	for _, module in pairs(config.modules) do
-		if not modulemanager.load(module) then
-			error("Unable to load module "..module);
-		end
+		modulemanager.load(module);
 	end
 else error("No modules enabled in the configuration file"); end