From 22df06d27db30cae5c7d3361a4fe51ab9a89dcbc Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Nov 2008 02:54:56 +0000 Subject: Now outgoing s2s sessions are associated with their from_host, fixes #15 --- plugins/mod_dialback.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua index d0c1dd6f..c17cbcaf 100644 --- a/plugins/mod_dialback.lua +++ b/plugins/mod_dialback.lua @@ -39,7 +39,7 @@ add_handler("s2sin_unauthed", "result", xmlns_dialback, send_s2s(origin.to_host, origin.from_host, format("%s", origin.to_host, origin.from_host, origin.streamid, origin.dialback_key)); - hosts[origin.from_host].dialback_verifying = origin; + hosts[origin.to_host].s2sout[origin.from_host].dialback_verifying = origin; end); add_handler({ "s2sout_unauthed", "s2sout" }, "verify", xmlns_dialback, -- cgit v1.2.3