From 9eadfb191e3b102a8659d80e6b672777a162c907 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Mar 2009 15:01:23 +0000 Subject: mod_component: Set default listening interface to 127.0.0.1 --- plugins/mod_component.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v1.2.3