aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_carbons.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_carbons.lua')
-rw-r--r--plugins/mod_carbons.lua2
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";