Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 5074:a87afeea8b48
mod_muc: Fix syntax error (thanks Florob)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 01 Aug 2012 01:33:21 +0100 |
parent | 5064:7a1eb302c562 |
child | 5195:ce5d7538ac48 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Wed Aug 01 01:27:42 2012 +0100 +++ b/plugins/muc/mod_muc.lua Wed Aug 01 01:33:21 2012 +0100 @@ -50,7 +50,7 @@ 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