aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_console.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-11-18 08:30:03 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-11-18 08:30:03 +0500
commit57af671e2b8242091cca9cadf73c89a028e421ec (patch)
treecc24d7d9ea3154026c7c14db014caff87cfbaa41 /plugins/mod_console.lua
parent8fa56f4bcfc98f7c040288375bbf4ad25dbd4172 (diff)
downloadprosody-57af671e2b8242091cca9cadf73c89a028e421ec.tar.gz
prosody-57af671e2b8242091cca9cadf73c89a028e421ec.zip
mod_console: Moved activation of the console port from the main file to mod_console.
Diffstat (limited to 'plugins/mod_console.lua')
-rw-r--r--plugins/mod_console.lua2
1 files changed, 2 insertions, 0 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");