match `object.action` nomenclature

v1.18.x
Evan Lucas 11 years ago
parent fb45aa92fd
commit 440c78c949

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

Loading…
Cancel
Save