aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
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