aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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';