v1.18.x
Barış Soner Uşaklı 6 years ago
parent 40f9ee3003
commit 541997a755

@ -30,7 +30,7 @@ module.exports = function (SocketTopics) {
}, },
function (results, next) { function (results, next) {
if (!results.topic) { if (!results.topic) {
return next(new Error('[[error:no-topic]]')) return next(new Error('[[error:no-topic]]'));
} }
topic = results.topic; topic = results.topic;
topic.privileges = results.privileges; topic.privileges = results.privileges;

Loading…
Cancel
Save