mirror of https://github.com/calzoneman/sync.git
trailing space fixes and other formatting stuff.
This commit is contained in:
parent
d19d1bec0e
commit
423c673e99
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue