Comparison

plugins/mod_blocklist.lua @ 6351:10dc228a45a4

mod_blocklist: Correct comment
author Kim Alvefur <zash@zash.se>
date Tue, 12 Aug 2014 15:40:00 +0200
parent 6350:bba5f4ffe75a
child 6352:b703e6930e4c
comparison
equal deleted inserted replaced
6350:bba5f4ffe75a 6351:10dc228a45a4
96 end 96 end
97 origin.interested_blocklist = true; -- Gets notified about changes 97 origin.interested_blocklist = true; -- Gets notified about changes
98 return origin.send(reply); 98 return origin.send(reply);
99 end); 99 end);
100 100
101 -- Add or remove a bare jid from the blocklist 101 -- Add or remove some jid(s) from the blocklist
102 -- We want this to be atomic and not do a partial update 102 -- We want this to be atomic and not do a partial update
103 local function edit_blocklist(event) 103 local function edit_blocklist(event)
104 local origin, stanza = event.origin, event.stanza; 104 local origin, stanza = event.origin, event.stanza;
105 local username = origin.username; 105 local username = origin.username;
106 local act = stanza.tags[1]; 106 local act = stanza.tags[1];