diff options
author | Kim Alvefur <zash@zash.se> | 2015-12-06 02:12:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-12-06 02:12:28 +0100 |
commit | 66b75a0f2ca9d9acbebe12486a50e3341a7c9512 (patch) | |
tree | 4b54c582962e41593f77eb92c4e8880c9eeea7a5 | |
parent | 8920afaf2fb1d0b724f9528d009c0bc226c3adbc (diff) | |
download | prosody-66b75a0f2ca9d9acbebe12486a50e3341a7c9512.tar.gz prosody-66b75a0f2ca9d9acbebe12486a50e3341a7c9512.zip |
mod_blocklist: Add comments describing some variables
-rw-r--r-- | plugins/mod_blocklist.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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); |