Skip to content

Node.js based forum software built for the modern web

post*.flag

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