aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-07 17:41:27 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-07 17:41:27 +0000
commitf5f551a91d086ff64bf0f499c6821e11bcaf43f0 (patch)
tree17cb996f8aa9bff202dd5118fbea3932d6777c76
parent96f91c20ad8e8fd71eee480ca56eacea606ada52 (diff)
downloadprosody-f5f551a91d086ff64bf0f499c6821e11bcaf43f0.tar.gz
prosody-f5f551a91d086ff64bf0f499c6821e11bcaf43f0.zip
Default mod_console to listening on localhost only. May be changed with console_interface=xxx.xxx.xxx.xxx in the config
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index b4a18c67..5cfa740d 100755
--- a/prosody
+++ b/prosody
@@ -146,7 +146,7 @@ do_ports("legacy_ssl_ports", "xmppclient", {}, "ssl");
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