diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-09 00:50:59 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-09 00:50:59 +0200 |
commit | 527d16b0b372a6103e23c79eb3cb9ed1588d311e (patch) | |
tree | aa5f597f0b236794035df93e6487fb1bdf46160a | |
parent | 5b3710099c6ab6c855e3b672050c7a762355d82e (diff) | |
download | prosody-527d16b0b372a6103e23c79eb3cb9ed1588d311e.tar.gz prosody-527d16b0b372a6103e23c79eb3cb9ed1588d311e.zip |
mod_carbons: Describe return types in a comment
For similarity with mod_mam, mod_csi_simple
-rw-r--r-- | plugins/mod_carbons.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua index f07e9356..ccd16ad5 100644 --- a/plugins/mod_carbons.lua +++ b/plugins/mod_carbons.lua @@ -25,7 +25,7 @@ end module:hook("iq-set/self/"..xmlns_carbons..":disable", toggle_carbons); module:hook("iq-set/self/"..xmlns_carbons..":enable", toggle_carbons); -local function should_copy(stanza, c2s, user_bare) +local function should_copy(stanza, c2s, user_bare) --> boolean, reason: string local st_type = stanza.attr.type or "normal"; if stanza:get_child("private", xmlns_carbons) then return false, "private"; |