Software /
code /
prosody
Changeset
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 |
parents | 6189:c54ef63f6e20 |
children | 6191:5956f4e69ab2 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);