From 7b4dd5567550ad86da1713e122aba7f3733dbb99 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 6 Dec 2015 02:12:28 +0100 Subject: mod_blocklist: Add comments describing some variables --- plugins/mod_blocklist.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/mod_blocklist.lua b/plugins/mod_blocklist.lua index a38d2a0f..a870d278 100644 --- a/plugins/mod_blocklist.lua +++ b/plugins/mod_blocklist.lua @@ -116,8 +116,8 @@ end); 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); -- cgit v1.2.3