# HG changeset patch # User Kim Alvefur # Date 1330035128 -3600 # Node ID 75bff73391fb08ba2b57ea04e7429058dbf23ce1 # Parent b163c65379a4d2a89e46403e049ea3e19e1fdfa0 s2sout.lib: Add locals for source interfaces diff -r b163c65379a4 -r 75bff73391fb plugins/s2s/s2sout.lib.lua --- a/plugins/s2s/s2sout.lib.lua Thu Feb 23 23:09:09 2012 +0100 +++ b/plugins/s2s/s2sout.lib.lua Thu Feb 23 23:12:08 2012 +0100 @@ -25,6 +25,9 @@ local s2s_listener; +local cfg_sources = config.get("*", "core", "s2s_interfaces") or {"*"}; +local sources + function s2sout.set_listener(listener) s2s_listener = listener; end