aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
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
commitad434dae47724f59a03b6ec1eefa04290d9b9ea2 (patch)
tree85f42f2ccf94b8e49dc0aace08eb91bb635181b9 /plugins/muc/muc.lib.lua
parent1f002c75637643f656885a816637d5294ab218c4 (diff)
downloadprosody-ad434dae47724f59a03b6ec1eefa04290d9b9ea2.tar.gz
prosody-ad434dae47724f59a03b6ec1eefa04290d9b9ea2.zip
plugins/muc/muc.lib: Fix typo (moderators vs moderator)
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-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);