summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 95b0cc349..f925f5e2a 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1122,12 +1122,10 @@ int mmo_auth(struct mmo_account* account, int fd) {
}
//EXE Version check [Sirius]
- if(account->sex != 0){
- if(check_client_version == 1){
+ if(check_client_version == 1 && account->version != 0){
if(account->version != client_version_to_connect){
return 5;
}
- }
}
// Strict account search