Software /
code /
prosody
Comparison
plugins/mod_tls.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 | 11580:9ad5ec65132d |
child | 11766:6ad335cd43f9 |
comparison
equal
deleted
inserted
replaced
11726:76156c675456 | 11727:f3aee8a825cc |
---|---|
132 origin:close(); | 132 origin:close(); |
133 end | 133 end |
134 return true; | 134 return true; |
135 end); | 135 end); |
136 | 136 |
137 -- Advertize stream feature | 137 -- Advertise stream feature |
138 module:hook("stream-features", function(event) | 138 module:hook("stream-features", function(event) |
139 local origin, features = event.origin, event.features; | 139 local origin, features = event.origin, event.features; |
140 if can_do_tls(origin) then | 140 if can_do_tls(origin) then |
141 features:add_child(c2s_feature); | 141 features:add_child(c2s_feature); |
142 end | 142 end |