Mercurial > prosody-hg
comparison plugins/mod_pep_plus.lua @ 8728:41c959c5c84b
Fix spelling throughout the codebase [codespell]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 04 Feb 2018 01:51:25 +0100 |
| parents | 164da3186511 |
| children | d6373a378b73 |
comparison
equal
deleted
inserted
replaced
| 8727:285075a27f28 | 8728:41c959c5c84b |
|---|---|
| 301 | 301 |
| 302 service_recipients[recipient] = nodes; | 302 service_recipients[recipient] = nodes; |
| 303 end | 303 end |
| 304 | 304 |
| 305 module:hook("presence/bare", function(event) | 305 module:hook("presence/bare", function(event) |
| 306 -- inbound presence to bare JID recieved | 306 -- inbound presence to bare JID received |
| 307 local origin, stanza = event.origin, event.stanza; | 307 local origin, stanza = event.origin, event.stanza; |
| 308 local t = stanza.attr.type; | 308 local t = stanza.attr.type; |
| 309 local is_self = not stanza.attr.to; | 309 local is_self = not stanza.attr.to; |
| 310 local username = jid_split(stanza.attr.to); | 310 local username = jid_split(stanza.attr.to); |
| 311 local user_bare = jid_bare(stanza.attr.to); | 311 local user_bare = jid_bare(stanza.attr.to); |
