Sun, 22 Mar 2009 15:01:23 +0000
mod_component: Set default listening interface to 127.0.0.1
plugins/mod_component.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_component.lua Sun Mar 22 14:59:28 2009 +0000 +++ b/plugins/mod_component.lua Sun Mar 22 15:01:23 2009 +0000 @@ -23,7 +23,7 @@ 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';