From 1d4d81a06d33a54676e9f762d4c2cb9e23d1af5d Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 18 Nov 2009 08:30:03 +0500 Subject: [PATCH] mod_console: Moved activation of the console port from the main file to mod_console. --- plugins/mod_console.lua | 2 ++ prosody | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2