Comparison

mod_minimix/mod_minimix.lua @ 3398:1745021c0a73

mod_minimix: Fix typo in comment
author Kim Alvefur <zash@zash.se>
date Sat, 08 Dec 2018 20:08:11 +0100
parent 3124:cabe58ae17c9
comparison
equal deleted inserted replaced
3397:4cf65afd90f4 3398:1745021c0a73
62 origin.joined_rooms[room_jid] = nil; 62 origin.joined_rooms[room_jid] = nil;
63 end 63 end
64 origin.send(st.reply(stanza)); 64 origin.send(st.reply(stanza));
65 return true; 65 return true;
66 elseif stanza.attr.type == nil and origin.joined_rooms and origin.joined_rooms[room_jid] then 66 elseif stanza.attr.type == nil and origin.joined_rooms and origin.joined_rooms[room_jid] then
67 return true; -- Supress these 67 return true; -- Suppress these
68 end 68 end
69 end); 69 end);
70 70
71 module:hook("pre-message/bare", function (event) 71 module:hook("pre-message/bare", function (event)
72 local origin, stanza = event.origin, event.stanza; 72 local origin, stanza = event.origin, event.stanza;