Software /
code /
prosody
Changeset
5074:a87afeea8b48
mod_muc: Fix syntax error (thanks Florob)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 01 Aug 2012 01:33:21 +0100 |
parents | 5073:ecc89a60b2ba |
children | 5075:4d939d2b1574 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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