--- a/plugins/mod_s2s/mod_s2s.lua Thu Feb 13 14:27:42 2020 +0000
+++ b/plugins/mod_s2s/mod_s2s.lua Thu Feb 13 23:03:03 2020 +0100
@@ -489,7 +489,7 @@
local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
-- reason: stream error to send to the remote server
-- remote_reason: stream error received from the remote server
--- bounce_reason: stanza error to pass to bounce_sendq beacuse stream- and stanza errors are different
+-- bounce_reason: stanza error to pass to bounce_sendq because stream- and stanza errors are different
local function session_close(session, reason, remote_reason, bounce_reason)
local log = session.log or log;
if session.conn then