Mercurial > prosody-modules
comparison mod_sms_clickatell/mod_sms_clickatell.lua @ 2874:178b8abf8283
mod_sms_clickatell: Fix typo in comment [codespell]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 04 Feb 2018 16:00:51 +0100 |
| parents | 1f7f66272f73 |
| children | 65082d91950e |
comparison
equal
deleted
inserted
replaced
| 2873:9e693d433a41 | 2874:178b8abf8283 |
|---|---|
| 569 --module:hook("iq/host/http://jabber.org/protocol/disco#items:query", iq_disco_items); | 569 --module:hook("iq/host/http://jabber.org/protocol/disco#items:query", iq_disco_items); |
| 570 --module:hook("account-disco-info", iq_disco_info); | 570 --module:hook("account-disco-info", iq_disco_info); |
| 571 --module:hook("account-disco-items", iq_disco_items); | 571 --module:hook("account-disco-items", iq_disco_items); |
| 572 --[[ | 572 --[[ |
| 573 module:hook("iq/host", function(data) | 573 module:hook("iq/host", function(data) |
| 574 -- IQ to a local host recieved | 574 -- IQ to a local host received |
| 575 local origin, stanza = data.origin, data.stanza; | 575 local origin, stanza = data.origin, data.stanza; |
| 576 if stanza.attr.type == "get" or stanza.attr.type == "set" then | 576 if stanza.attr.type == "get" or stanza.attr.type == "set" then |
| 577 return module:fire_event("iq/host/"..stanza.tags[1].attr.xmlns..":"..stanza.tags[1].name, data); | 577 return module:fire_event("iq/host/"..stanza.tags[1].attr.xmlns..":"..stanza.tags[1].name, data); |
| 578 else | 578 else |
| 579 module:fire_event("iq/host/"..stanza.attr.id, data); | 579 module:fire_event("iq/host/"..stanza.attr.id, data); |
