Comparison

plugins/mod_bosh.lua @ 11727:f3aee8a825cc

Fix various spelling errors (thanks codespell) Also special thanks to timeless, for wordlessly reminding me to check for typos.
author Kim Alvefur <zash@zash.se>
date Tue, 27 Jul 2021 00:13:18 +0200
parent 11560:3bbb1af92514
child 11733:27699cc148df
comparison
equal deleted inserted replaced
11726:76156c675456 11727:f3aee8a825cc
291 response:send(tostring(close_reply)); 291 response:send(tostring(close_reply));
292 return; 292 return;
293 end 293 end
294 294
295 if not prosody.hosts[to_host] then 295 if not prosody.hosts[to_host] then
296 log("debug", "BOSH client tried to connect to non-existant host: %s", attr.to); 296 log("debug", "BOSH client tried to connect to non-existent host: %s", attr.to);
297 report_bad_host(); 297 report_bad_host();
298 local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate", 298 local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate",
299 ["xmlns:stream"] = xmlns_streams, condition = "improper-addressing" }); 299 ["xmlns:stream"] = xmlns_streams, condition = "improper-addressing" });
300 response:send(tostring(close_reply)); 300 response:send(tostring(close_reply));
301 return; 301 return;