aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-09 05:24:47 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-09 05:24:47 +0500
commitba880d621596c0a9c384789bca5698ea4f3ea010 (patch)
treeb6475d91df3fffd897ef2fef68406ed1833f41d4 /main.lua
parent7b3ed77aef482bbb6fbae080ba9e847cd748b0bd (diff)
downloadprosody-ba880d621596c0a9c384789bca5698ea4f3ea010.tar.gz
prosody-ba880d621596c0a9c384789bca5698ea4f3ea010.zip
We don't fail if modules fail to load at startup :)
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index 2dd1a1d9..eac26fe5 100644
--- a/main.lua
+++ b/main.lua
@@ -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