@ -131,7 +131,14 @@ var async = require('async'),
return callback(new Error('[[error:not-enough-reputation-to-downvote]]'));
}
toggleVote('downvote', pid, uid, callback);
toggleVote('downvote', pid, uid, function(err, votes) {
if (err) return callback(err);
plugins.fireHook('action:post.downvote', {
pid: pid,
uid: uid
});
callback(null, votes);
};