Comparison

plugins/muc/muc.lib.lua @ 6190:6580e557cc61

plugins/muc/muc.lib: Fix typo (moderators vs moderator)
author daurnimator <quae@daurnimator.com>
date Fri, 28 Mar 2014 18:47:35 -0400
parent 6189:c54ef63f6e20
child 6191:5956f4e69ab2
comparison
equal deleted inserted replaced
6189:c54ef63f6e20 6190:6580e557cc61
259 full_p:add_child(full_x); 259 full_p:add_child(full_x);
260 260
261 for nick, n_occupant in self:each_occupant() do 261 for nick, n_occupant in self:each_occupant() do
262 if nick ~= occupant.nick or n_occupant.role == nil then 262 if nick ~= occupant.nick or n_occupant.role == nil then
263 local pr = full_p; 263 local pr = full_p;
264 if has_anonymous and n_occupant.role ~= "moderators" and occupant.bare_jid ~= n_occupant.bare_jid then 264 if has_anonymous and n_occupant.role ~= "moderator" and occupant.bare_jid ~= n_occupant.bare_jid then
265 pr = anon_p; 265 pr = anon_p;
266 end 266 end
267 self:route_to_occupant(n_occupant, pr); 267 self:route_to_occupant(n_occupant, pr);
268 end 268 end
269 end 269 end