Node.js based forum software built for the modern web
send callback directly
psychobunny90513be3216d
diff --git a/src/categories.js b/src/categories.jsindex 4011f459e0..bf42392596 100644--- a/src/categories.js+++ b/src/categories.js@@ -93,9 +93,7 @@ var db = require('./database'),category.pageCount = results.pageCount;category.topic_row_size = 'col-md-9';- plugins.fireHook('filter:category.get', category, uid, function(err, category) {- callback(err, category);- });+ plugins.fireHook('filter:category.get', category, uid, callback);});});};