diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-11-18 08:30:03 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-11-18 08:30:03 +0500 |
commit | 57af671e2b8242091cca9cadf73c89a028e421ec (patch) | |
tree | cc24d7d9ea3154026c7c14db014caff87cfbaa41 | |
parent | 8fa56f4bcfc98f7c040288375bbf4ad25dbd4172 (diff) | |
download | prosody-57af671e2b8242091cca9cadf73c89a028e421ec.tar.gz prosody-57af671e2b8242091cca9cadf73c89a028e421ec.zip |
mod_console: Moved activation of the console port from the main file to mod_console.
-rw-r--r-- | plugins/mod_console.lua | 2 | ||||
-rwxr-xr-x | prosody | 1 |
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"); @@ -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 |