Sun, 09 Nov 2008 05:24:47 +0500
We don't fail if modules fail to load at startup :)
main.lua | file | annotate | diff | comparison | revisions |
--- 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