Skip to content

Node.js based forum software built for the modern web

added missing radix

barisusakli68db8c04f7a9
diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js
index 9d4a4871d8..ad38842402 100644
--- a/src/socket.io/posts.js
+++ b/src/socket.io/posts.js
@@ -113,7 +113,7 @@ function sendNotificationToPostOwner(data, uid, message) {
return;
}
- if (uid === parseInt(postData.uid)) {
+ if (uid === parseInt(postData.uid, 10)) {
return;
}