Changeset

676:5e2dfeba1f14

Default mod_console to listening on localhost only. May be changed with console_interface=xxx.xxx.xxx.xxx in the config
author Matthew Wild <mwild1@gmail.com>
date Wed, 07 Jan 2009 17:41:27 +0000
parents 675:cc82394fea22
children 677:93e5309c5430
files prosody
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Wed Jan 07 15:14:24 2009 +0000
+++ b/prosody	Wed Jan 07 17:41:27 2009 +0000
@@ -146,7 +146,7 @@
 
 if config.get("*", "core", "console_enabled") then
 	if cl.get("console") then
-		cl.start("console")
+		cl.start("console", { interface = config.get("*", "core", "console_interface") or "127.0.0.1" })
 	else
 		log("error", "Console is enabled, but the console module appears not to be loaded");
 	end