Skip to content

Node.js based forum software built for the modern web

up spam-be-gone

Baris Usakli2053726c81ba
diff --git a/package.json b/package.json
index 6c2d79c48b..19b5daa20b 100644
--- a/package.json
+++ b/package.json
@@ -62,7 +62,7 @@
"nodebb-plugin-markdown": "8.0.3",
"nodebb-plugin-mentions": "2.1.5",
"nodebb-plugin-soundpack-default": "1.0.0",
- "nodebb-plugin-spam-be-gone": "0.5.0",
+ "nodebb-plugin-spam-be-gone": "0.5.1",
"nodebb-rewards-essentials": "0.0.9",
"nodebb-theme-lavender": "4.0.5",
"nodebb-theme-persona": "5.0.21",
diff --git a/src/plugins/hooks.js b/src/plugins/hooks.js
index 40684e31ab..ba52cd5f40 100644
--- a/src/plugins/hooks.js
+++ b/src/plugins/hooks.js
@@ -121,13 +121,7 @@ module.exports = function (Plugins) {
}
hookObj.method(params, next);
- }, function (err, values) {
- if (err) {
- winston.error('[plugins] ' + hook + ', ' + err.message);
- }
-
- callback(err, values);
- });
+ }, callback);
}
function fireActionHook(hook, hookList, params, callback) {