Changeset

230:e46525f5b2a4

We don't fail if modules fail to load at startup :)
author Waqas Hussain <waqas20@gmail.com>
date Sun, 09 Nov 2008 05:24:47 +0500
parents 229:01bd24ea488d
children 231:24bcdaacc0bf 276:30893439d5d1
files main.lua
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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