diff options
author | Kim Alvefur <zash@zash.se> | 2012-02-23 23:12:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-02-23 23:12:08 +0100 |
commit | afe54f2fbdd6494e198b238f795036211b1467dc (patch) | |
tree | f7010be4173e03987538e8e67ec355e0d68991be /plugins | |
parent | 05e087606f691330da8747c70233d22543524c5a (diff) | |
download | prosody-afe54f2fbdd6494e198b238f795036211b1467dc.tar.gz prosody-afe54f2fbdd6494e198b238f795036211b1467dc.zip |
s2sout.lib: Add locals for source interfaces
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/s2s/s2sout.lib.lua | 3 |
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 |