From a5365e968d296ecd1281fff4df4c2588775c888a Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 19 Jun 2015 17:30:41 -0400 Subject: [PATCH] post*.flag --- src/socket.io/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js index 89314e9032..7d37379807 100644 --- a/src/socket.io/posts.js +++ b/src/socket.io/posts.js @@ -538,7 +538,7 @@ SocketPosts.flag = function(socket, pid, callback) { return next(err); } - plugins.fireHook('action:posts.flag', {post: post, flaggingUser: flaggingUser}); + plugins.fireHook('action:post.flag', {post: post, flaggingUser: flaggingUser}); notifications.push(notification, results.admins.concat(results.moderators), next); }); }