Comparison

plugins/muc/moderated.lib.lua @ 8852:5e98d62f3f9b

MUC: Ignore unused argumens [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 20 Oct 2017 05:45:03 +0200
parent 8851:ab5f678f1376
child 8853:f84f566dea58
comparison
equal deleted inserted replaced
8851:ab5f678f1376 8852:5e98d62f3f9b
84 } 84 }
85 }); 85 });
86 86
87 local message = st.message({ type = "normal"; from = event.room.jid }):add_child(form:form()):up(); 87 local message = st.message({ type = "normal"; from = event.room.jid }):add_child(form:form()):up();
88 88
89 event.room:broadcast(message, function (nick, occupant) 89 event.room:broadcast(message, function (_, occupant)
90 return occupant.role == "moderator"; 90 return occupant.role == "moderator";
91 end); 91 end);
92 end 92 end
93 end); 93 end);
94 94