Changeset

2087:5efd79871205

mod_console: Moved activation of the console port from the main file to mod_console.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 18 Nov 2009 08:30:03 +0500
parents 2086:911251f00f32
children 2088:5a9dc066a388
files plugins/mod_console.lua prosody
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_console.lua	Wed Nov 18 08:26:43 2009 +0500
+++ b/plugins/mod_console.lua	Wed Nov 18 08:30:03 2009 +0500
@@ -650,3 +650,5 @@
 	end
 end
 end
+
+prosody.net_activate_ports("console", "console", {5582}, "tcp");
--- a/prosody	Wed Nov 18 08:26:43 2009 +0500
+++ b/prosody	Wed Nov 18 08:30:03 2009 +0500
@@ -259,7 +259,6 @@
 	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