trailing space fixes and other formatting stuff.

This commit is contained in:
Adam Davis 2018-04-08 22:00:58 -04:00
parent d19d1bec0e
commit 423c673e99
1 changed files with 3 additions and 4 deletions

View File

@ -22,15 +22,14 @@ AnonymousCheck.prototype.onUserPreJoin = function (user, data, cb) {
cb("User disconnected", ChannelModule.DENY);
}
});
user.waitFlag(Flags.U_LOGGED_IN, function () {
user.socket.emit("cancelNeedIdentity");
cb(null, ChannelModule.PASSTHROUGH);
});
return;
}
else{
} else{
cb(null, ChannelModule.PASSTHROUGH);
}
};