aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s/s2sout.lib.lua
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
commitcf1aa003da3524d839effd7c9f7dd5eb1a46510d (patch)
treef7010be4173e03987538e8e67ec355e0d68991be /plugins/s2s/s2sout.lib.lua
parentd30dec6f355008b4b60b7ae7739e5ca6baa48f05 (diff)
downloadprosody-cf1aa003da3524d839effd7c9f7dd5eb1a46510d.tar.gz
prosody-cf1aa003da3524d839effd7c9f7dd5eb1a46510d.zip
s2sout.lib: Add locals for source interfaces
Diffstat (limited to 'plugins/s2s/s2sout.lib.lua')
-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