Skip to content

Node.js based forum software built for the modern web

its 3am

Aziz Khoury65ff72b0e35f
diff --git a/src/topics/create.js b/src/topics/create.js
index c0363c3085..ebf12ff15e 100644
--- a/src/topics/create.js
+++ b/src/topics/create.js
@@ -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);
- }
-
- content = filteredData.content || data.content;
- next();
- });
+ plugins.fireHook('filter:topic.reply', data, function(err, filteredData) {
+ if (err) {
+ return next(err);
+ }
+
+ content = filteredData.content || data.content;
+ next();
+ });
},
function(next) {
threadTools.exists(tid, next);