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 | 6c4f5f47fc233e1e8e97250be1eb44a3ee312688 (patch) | |
tree | aa5f597f0b236794035df93e6487fb1bdf46160a /plugins | |
parent | 403489061aa28de58692f70a25ed7d50c3060061 (diff) | |
download | prosody-6c4f5f47fc233e1e8e97250be1eb44a3ee312688.tar.gz prosody-6c4f5f47fc233e1e8e97250be1eb44a3ee312688.zip |
mod_carbons: Describe return types in a comment
For similarity with mod_mam, mod_csi_simple
Diffstat (limited to 'plugins')
-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"; |