aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-14 02:54:56 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-14 02:54:56 +0000
commit22df06d27db30cae5c7d3361a4fe51ab9a89dcbc (patch)
tree3d632e375aca4712448301b7a3a968b855db54bd /plugins
parent428fc65bbc595d80cb678dadcc9ea7cae055d5b9 (diff)
downloadprosody-22df06d27db30cae5c7d3361a4fe51ab9a89dcbc.tar.gz
prosody-22df06d27db30cae5c7d3361a4fe51ab9a89dcbc.zip
Now outgoing s2s sessions are associated with their from_host, fixes #15
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_dialback.lua2
1 files changed, 1 insertions, 1 deletions
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("<db:verify from='%s' to='%s' id='%s'>%s</db:verify>", 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,