trunk
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 | ecc89a60b2ba |
| children | 4d939d2b1574 |
| files | plugins/muc/mod_muc.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/plugins/muc/mod_muc.lua Wed Aug 01 01:27:42 2012 +0100 1.2 +++ b/plugins/muc/mod_muc.lua Wed Aug 01 01:33:21 2012 +0100 1.3 @@ -50,7 +50,7 @@ 1.4 return _get_affiliation(self, jid); 1.5 end 1.6 function muclib.room_mt:set_affiliation(actor, jid, affiliation, callback, reason) 1.7 - if is_admin(jid) then return nil, "modify", "not-acceptable";; end 1.8 + if is_admin(jid) then return nil, "modify", "not-acceptable"; end 1.9 return _set_affiliation(self, actor, jid, affiliation, callback, reason); 1.10 end 1.11
