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
commit5df2fa71af43770f864e1f3c40ca97620d9da728 (patch)
treeb89edee0b31e64a9394023708e4848dcb175f12e /plugins/muc/mod_muc.lua
parentdd9768067d551c862f57af20f0297e9917c84a79 (diff)
downloadprosody-5df2fa71af43770f864e1f3c40ca97620d9da728.tar.gz
prosody-5df2fa71af43770f864e1f3c40ca97620d9da728.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