Skip to content

Node.js based forum software built for the modern web

!undefined = true !!undefined = false !!!undefined = true

Vincent Briglia8eae8a4fb5fd
diff --git a/src/user.js b/src/user.js
index 9987662d6e..c2d50ed1bf 100644
--- a/src/user.js
+++ b/src/user.js
@@ -276,7 +276,7 @@ var utils = require('./../public/src/utils.js'),
User.isEmailAvailable = function(email, callback) {
RDB.exists('email:' + email + ':uid' , function(err, exists) {
- callback(err, !!exists);
+ callback(err, !!!exists);
});
}