diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-09 05:24:47 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-09 05:24:47 +0500 |
commit | ba880d621596c0a9c384789bca5698ea4f3ea010 (patch) | |
tree | b6475d91df3fffd897ef2fef68406ed1833f41d4 | |
parent | 7b3ed77aef482bbb6fbae080ba9e847cd748b0bd (diff) | |
download | prosody-ba880d621596c0a9c384789bca5698ea4f3ea010.tar.gz prosody-ba880d621596c0a9c384789bca5698ea4f3ea010.zip |
We don't fail if modules fail to load at startup :)
-rw-r--r-- | main.lua | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -41,9 +41,7 @@ require "util.jid" -- 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 |