diff options
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index b930ceab..77a1b040 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -319,7 +319,7 @@ function try_connect(host_session, connect_host, connect_port, err) if not sources then sources = {}; - local cfg_sources = connlisteners_get("xmppserver").default_interface or config.get("*", "core", "interface"); + local cfg_sources = config.get("*", "core", "interface") or connlisteners_get("xmppserver").default_interface; for i, source in ipairs(cfg_sources) do if source == "*" then sources[i] = new_ip("0.0.0.0", "IPv4"); |