Skip to content

Commit

Permalink
Whoops brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeballcode committed Dec 17, 2015
1 parent e512c8a commit dcf4309
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ mongo.connect('mongodb://localhost:27017/TFHWebSite', {}, function (err, db) {
dbcs.users = collection;
collection.findOne({name: 'UniBot'}, function (err, unibot) {
if (!!unibot) {
if (!unibot.realPass)
collection.findOneAndDelete({name: 'UniBot'});
unibot = null;
if (!unibot.realPass) {
collection.findOneAndDelete({name: 'UniBot'});
unibot = null;
} else return;Wh
}
if (!unibot) {
var keys = '0123456789abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ!@#$%^&8()[]{}\\|;:\'",./<>?-_=+';
Expand Down

0 comments on commit dcf4309

Please sign in to comment.