Changeset

4563:75bff73391fb

s2sout.lib: Add locals for source interfaces
author Kim Alvefur <zash@zash.se>
date Thu, 23 Feb 2012 23:12:08 +0100
parents 4562:b163c65379a4
children 4564:a11b4cbac3c5
files plugins/s2s/s2sout.lib.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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