aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody8
1 files changed, 2 insertions, 6 deletions
diff --git a/prosody b/prosody
index 5f1b49b6..f00fffad 100755
--- a/prosody
+++ b/prosody
@@ -149,12 +149,8 @@ net_activate_ports("c2s", "xmppclient", {5222}, (global_ssl_ctx and "tls") or "t
net_activate_ports("s2s", "xmppserver", {5269}, "tcp");
net_activate_ports("legacy_ssl", "xmppclient", {}, "ssl");
-if config.get("*", "core", "console_enabled") then
- if cl.get("console") then
- cl.start("console", { interface = config.get("*", "core", "console_interface") or "127.0.0.1" })
- else
- log("error", "Console is enabled, but the console module appears not to be loaded");
- end
+if cl.get("console") then
+ cl.start("console", { interface = config.get("*", "core", "console_interface") or "127.0.0.1" })
end
-- Global function to initiate prosody shutdown