diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-08-01 01:33:21 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-08-01 01:33:21 +0100 |
commit | 0d32004d7ded025d8476ec87d964427fc062ffec (patch) | |
tree | b89edee0b31e64a9394023708e4848dcb175f12e | |
parent | fb61e33ec5b10ac8228874ba2125687e0d887bf2 (diff) | |
download | prosody-0d32004d7ded025d8476ec87d964427fc062ffec.tar.gz prosody-0d32004d7ded025d8476ec87d964427fc062ffec.zip |
mod_muc: Fix syntax error (thanks Florob)
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
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 |