s2smanager: Add incoming_s2s to the prosody object

Sat, 17 Oct 2009 15:25:30 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 17 Oct 2009 15:25:30 +0100
changeset 1976
5f3eaab987c3
parent 1975
a9998fac292c
child 1977
325a49f8edab

s2smanager: Add incoming_s2s to the prosody object

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Sat Oct 17 15:23:50 2009 +0100
+++ b/core/s2smanager.lua	Sat Oct 17 15:25:30 2009 +0100
@@ -45,6 +45,7 @@
 local max_dns_depth = config.get("*", "core", "dns_max_depth") or 3;
 
 incoming_s2s = {};
+_G.prosody.incoming_s2s = incoming_s2s;
 local incoming_s2s = incoming_s2s;
 
 module "s2smanager"

mercurial