match object.action nomenclature

This commit is contained in:
Evan Lucas
2014-09-02 13:26:56 -05:00
parent fb45aa92fd
commit 440c78c949

View File

@@ -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
});