# HG changeset patch # User daurnimator # Date 1396046855 14400 # Node ID 6580e557cc618678ebb20012fabe7b4d354740ae # Parent c54ef63f6e20f5ea2182f11b7e6846b488792e54 plugins/muc/muc.lib: Fix typo (moderators vs moderator) diff -r c54ef63f6e20 -r 6580e557cc61 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Fri Mar 28 18:33:57 2014 -0400 +++ b/plugins/muc/muc.lib.lua Fri Mar 28 18:47:35 2014 -0400 @@ -261,7 +261,7 @@ for nick, n_occupant in self:each_occupant() do if nick ~= occupant.nick or n_occupant.role == nil then local pr = full_p; - if has_anonymous and n_occupant.role ~= "moderators" and occupant.bare_jid ~= n_occupant.bare_jid then + if has_anonymous and n_occupant.role ~= "moderator" and occupant.bare_jid ~= n_occupant.bare_jid then pr = anon_p; end self:route_to_occupant(n_occupant, pr);