This commit is contained in:
Aziz Khoury
2014-04-26 03:19:56 -04:00
parent c7bd27fb3f
commit 65ff72b0e3

View File

@@ -141,14 +141,14 @@ module.exports = function(Topics) {
async.waterfall([
function(next) {
plugins.fireHook('filter:topic.reply', data, function(err, filteredData) {
if (err) {
return next(err);
}
plugins.fireHook('filter:topic.reply', data, function(err, filteredData) {
if (err) {
return next(err);
}
content = filteredData.content || data.content;
next();
});
content = filteredData.content || data.content;
next();
});
},
function(next) {
threadTools.exists(tid, next);