diff options
author | daurnimator <quae@daurnimator.com> | 2014-03-28 18:47:35 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-03-28 18:47:35 -0400 |
commit | ad434dae47724f59a03b6ec1eefa04290d9b9ea2 (patch) | |
tree | 85f42f2ccf94b8e49dc0aace08eb91bb635181b9 | |
parent | 1f002c75637643f656885a816637d5294ab218c4 (diff) | |
download | prosody-ad434dae47724f59a03b6ec1eefa04290d9b9ea2.tar.gz prosody-ad434dae47724f59a03b6ec1eefa04290d9b9ea2.zip |
plugins/muc/muc.lib: Fix typo (moderators vs moderator)
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 6453cc3b..c1747440 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -261,7 +261,7 @@ function room_mt:publicise_occupant_status(occupant, full_x, actor, reason) 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); |