aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_message.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index 8b36768f..09aefc08 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -49,8 +49,8 @@ local function process_to_bare(bare, origin, stanza)
local ok
if user_exists(node, host) then
ok = module:fire_event('message/offline/handle', {
- username = node;
- origin = origin,
+ username = node, -- username of the recipient of the offline message
+ origin = origin, -- the sender
stanza = stanza,
});
end