Comparison

plugins/mod_s2s/mod_s2s.lua @ 10648:2bd17e043275

mod_s2s: Fix typo in comment [codespell]
author Kim Alvefur <zash@zash.se>
date Thu, 13 Feb 2020 23:03:03 +0100
parent 10632:c9de8275aaf2
child 10809:86ea811ee25b
comparison
equal deleted inserted replaced
10647:d1bfda983ffe 10648:2bd17e043275
487 487
488 --- Session methods 488 --- Session methods
489 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; 489 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
490 -- reason: stream error to send to the remote server 490 -- reason: stream error to send to the remote server
491 -- remote_reason: stream error received from the remote server 491 -- remote_reason: stream error received from the remote server
492 -- bounce_reason: stanza error to pass to bounce_sendq beacuse stream- and stanza errors are different 492 -- bounce_reason: stanza error to pass to bounce_sendq because stream- and stanza errors are different
493 local function session_close(session, reason, remote_reason, bounce_reason) 493 local function session_close(session, reason, remote_reason, bounce_reason)
494 local log = session.log or log; 494 local log = session.log or log;
495 if session.conn then 495 if session.conn then
496 if session.notopen then 496 if session.notopen then
497 if session.direction == "incoming" then 497 if session.direction == "incoming" then