Software /
code /
prosody
Comparison
plugins/muc/muc.lib.lua @ 9547:a06419532efb
MUC: Remove debug log
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 25 Oct 2018 14:17:32 +0100 |
parent | 9532:9bb33edd7255 |
child | 9599:5a2135964ed3 |
comparison
equal
deleted
inserted
replaced
9546:c93496785022 | 9547:a06419532efb |
---|---|
1231 return jid, affiliation, _affiliation_data[jid]; | 1231 return jid, affiliation, _affiliation_data[jid]; |
1232 end, nil, nil; | 1232 end, nil, nil; |
1233 end | 1233 end |
1234 | 1234 |
1235 function room_mt:set_affiliation(actor, jid, affiliation, reason, data) | 1235 function room_mt:set_affiliation(actor, jid, affiliation, reason, data) |
1236 module:log("debug", "data is %s", tostring(data)); | |
1237 if not actor then return nil, "modify", "not-acceptable"; end; | 1236 if not actor then return nil, "modify", "not-acceptable"; end; |
1238 | 1237 |
1239 local node, host, resource = jid_split(jid); | 1238 local node, host, resource = jid_split(jid); |
1240 if not host then return nil, "modify", "not-acceptable"; end | 1239 if not host then return nil, "modify", "not-acceptable"; end |
1241 jid = jid_join(node, host); -- Bare | 1240 jid = jid_join(node, host); -- Bare |