Skip to content

Node.js based forum software built for the modern web

match `object.action` nomenclature

Evan Lucas440c78c949ce
diff --git a/src/favourites.js b/src/favourites.js
index ecc61045c3..e2edc36c4f 100644
--- a/src/favourites.js
+++ b/src/favourites.js
@@ -105,7 +105,7 @@ var async = require('async'),
toggleVote('upvote', pid, uid, function(err, votes) {
if (err) return callback(err);
- plugins.fireHook('action:upvote.post', {
+ plugins.fireHook('action:post.upvote', {
pid: pid,
uid: uid
});