aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-02-23 23:12:08 +0100
committerKim Alvefur <zash@zash.se>2012-02-23 23:12:08 +0100
commitafe54f2fbdd6494e198b238f795036211b1467dc (patch)
treef7010be4173e03987538e8e67ec355e0d68991be /plugins/s2s
parent05e087606f691330da8747c70233d22543524c5a (diff)
downloadprosody-afe54f2fbdd6494e198b238f795036211b1467dc.tar.gz
prosody-afe54f2fbdd6494e198b238f795036211b1467dc.zip
s2sout.lib: Add locals for source interfaces
Diffstat (limited to 'plugins/s2s')
-rw-r--r--plugins/s2s/s2sout.lib.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/s2s/s2sout.lib.lua b/plugins/s2s/s2sout.lib.lua
index d84854a8..04a5c072 100644
--- a/plugins/s2s/s2sout.lib.lua
+++ b/plugins/s2s/s2sout.lib.lua
@@ -25,6 +25,9 @@ local s2sout = {};
local s2s_listener;
+local cfg_sources = config.get("*", "core", "s2s_interfaces") or {"*"};
+local sources
+
function s2sout.set_listener(listener)
s2s_listener = listener;
end