aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_console.lua2
-rwxr-xr-xprosody1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index 5a092298..82045232 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -650,3 +650,5 @@ if option and option ~= "short" and option ~= "full" and option ~= "graphic" the
end
end
end
+
+prosody.net_activate_ports("console", "console", {5582}, "tcp");
diff --git a/prosody b/prosody
index 3a1dafb2..ae9cd2fc 100755
--- a/prosody
+++ b/prosody
@@ -259,7 +259,6 @@ function prepare_to_start()
prosody.net_activate_ports("s2s", "xmppserver", {5269});
prosody.net_activate_ports("component", "xmppcomponent", {}, "tcp");
prosody.net_activate_ports("legacy_ssl", "xmppclient", {}, "ssl");
- prosody.net_activate_ports("console", "console", {5582}, "tcp");
prosody.start_time = os.time();
end