aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index d93ce8f0..f67f3889 100644
--- a/main.lua
+++ b/main.lua
@@ -88,7 +88,9 @@ end
start("xmppclient", { ssl = global_ssl_ctx })
start("xmppserver", { ssl = global_ssl_ctx })
-start("console")
+if config.get("*", "core", "console_enabled") then
+ start("console")
+end
modulemanager.fire_event("server-started");