Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 10482:c7864f970969
mod_s2s: Fix mistake in 28755107c2f4
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 03 Dec 2019 17:29:43 +0100 |
parent | 10477:28755107c2f4 |
child | 10483:c12a24f0a385 |
comparison
equal
deleted
inserted
replaced
10481:7a3c04789d5c | 10482:c7864f970969 |
---|---|
514 stanza:tag("text", stream_xmlns_attr):text(reason.text):up(); | 514 stanza:tag("text", stream_xmlns_attr):text(reason.text):up(); |
515 end | 515 end |
516 if reason.extra then | 516 if reason.extra then |
517 stanza:add_child(reason.extra); | 517 stanza:add_child(reason.extra); |
518 end | 518 end |
519 reason = stanza; | |
519 end | 520 end |
520 if st.is_stanza(reason) then | 521 if st.is_stanza(reason) then |
521 -- to and from are never unknown on outgoing connections | 522 -- to and from are never unknown on outgoing connections |
522 log("debug", "Disconnecting %s->%s[%s], <stream:error> is: %s", | 523 log("debug", "Disconnecting %s->%s[%s], <stream:error> is: %s", |
523 session.from_host or "(unknown host)" or session.ip, session.to_host or "(unknown host)", session.type, reason); | 524 session.from_host or "(unknown host)" or session.ip, session.to_host or "(unknown host)", session.type, reason); |