summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r--src/login_sql/login.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 79d25bfba..3aae267b0 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -438,9 +438,11 @@ int mmo_auth( struct mmo_account* account , int fd){
//check for lasted version (exe version check) [Sirius]
- if(check_client_version == 1){
- if(account->version != client_version_to_connect){
- return 6;
+ if(account->sex != 0){
+ if(check_client_version == 1){
+ if(account->version != client_version_to_connect){
+ return 6;
+ }
}
}