aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-03-28 18:47:35 -0400
committerdaurnimator <quae@daurnimator.com>2014-03-28 18:47:35 -0400
commit7cbdc2b0f7570ca06ff5e8561b09cb5bc64c8a1f (patch)
tree85f42f2ccf94b8e49dc0aace08eb91bb635181b9
parent5d2b35e070ebe5d10aa07c5a5f8448aa17dfef44 (diff)
downloadprosody-7cbdc2b0f7570ca06ff5e8561b09cb5bc64c8a1f.tar.gz
prosody-7cbdc2b0f7570ca06ff5e8561b09cb5bc64c8a1f.zip
plugins/muc/muc.lib: Fix typo (moderators vs moderator)
-rw-r--r--plugins/muc/muc.lib.lua2
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);