# HG changeset patch # User Kim Alvefur # Date 1449364348 -3600 # Node ID 96080d86bab872571f5b570e04bf9098c75c2d22 # Parent cde7d14052f9d5a0b985cbf194d54aa2153f8ad5 mod_blocklist: Add comments describing some variables diff -r cde7d14052f9 -r 96080d86bab8 plugins/mod_blocklist.lua --- a/plugins/mod_blocklist.lua Sun Dec 06 02:09:52 2015 +0100 +++ b/plugins/mod_blocklist.lua Sun Dec 06 02:12:28 2015 +0100 @@ -116,8 +116,8 @@ local function edit_blocklist(event) local origin, stanza = event.origin, event.stanza; local username = origin.username; - local action = stanza.tags[1]; - local new = {}; + local action = stanza.tags[1]; -- "block" or "unblock" + local new = {}; -- JIDs to block depending or unblock on action for item in action:childtags("item") do local jid = jid_prep(item.attr.jid);