From 440c78c949cef10aa65d967795a4a5b8eb2dc004 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Tue, 2 Sep 2014 13:26:56 -0500 Subject: [PATCH] match `object.action` nomenclature --- src/favourites.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });