# HG changeset patch # User Matthew Wild # Date 1237734083 0 # Node ID 505a2cbb823db0e92dc589f28b55fd7af7a18f0f # Parent b0ecd18e0558cd50a7570639e0f7b29f2f26e48f mod_component: Set default listening interface to 127.0.0.1 diff -r b0ecd18e0558 -r 505a2cbb823d plugins/mod_component.lua --- 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';