Now outgoing s2s sessions are associated with their from_host, fixes #15

This commit is contained in:
Matthew Wild 2008-11-14 02:54:56 +00:00
parent 428fc65bbc
commit 22df06d27d
3 changed files with 9 additions and 9 deletions

View file

@ -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,