aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-03-22 15:01:23 +0000
committerMatthew Wild <mwild1@gmail.com>2009-03-22 15:01:23 +0000
commit9eadfb191e3b102a8659d80e6b672777a162c907 (patch)
tree7c838d067337eb34ac5bd5e6b93db1557f2bcbc7 /plugins
parent1bfc26ba0adf215121c0651c789fb71f95fb6f3b (diff)
downloadprosody-9eadfb191e3b102a8659d80e6b672777a162c907.tar.gz
prosody-9eadfb191e3b102a8659d80e6b672777a162c907.zip
mod_component: Set default listening interface to 127.0.0.1
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 57679ca9..f4b0d51c 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -23,7 +23,7 @@ local sessions = {};
local log = module._log;
-local component_listener = { default_port = 5347; default_mode = "*a"; };
+local component_listener = { default_port = 5347; default_mode = "*a"; default_interface = config.get("*", "core", "component_interface") or "127.0.0.1" };
local xmlns_component = 'jabber:component:accept';