aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-08-01 01:33:21 +0100
committerMatthew Wild <mwild1@gmail.com>2012-08-01 01:33:21 +0100
commit0d32004d7ded025d8476ec87d964427fc062ffec (patch)
treeb89edee0b31e64a9394023708e4848dcb175f12e /plugins/muc/mod_muc.lua
parentfb61e33ec5b10ac8228874ba2125687e0d887bf2 (diff)
downloadprosody-0d32004d7ded025d8476ec87d964427fc062ffec.tar.gz
prosody-0d32004d7ded025d8476ec87d964427fc062ffec.zip
mod_muc: Fix syntax error (thanks Florob)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index cfb1dd22..0f275196 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -50,7 +50,7 @@ function muclib.room_mt:get_affiliation(jid)
return _get_affiliation(self, jid);
end
function muclib.room_mt:set_affiliation(actor, jid, affiliation, callback, reason)
- if is_admin(jid) then return nil, "modify", "not-acceptable";; end
+ if is_admin(jid) then return nil, "modify", "not-acceptable"; end
return _set_affiliation(self, actor, jid, affiliation, callback, reason);
end