summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-10 07:33:48 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-10 07:33:48 +0000
commitaf787d3f9ad773b697802d85c8d69f27e2eb599c (patch)
tree1001217ced4196c62206308f9b0f28be6a3af10c /src/login_sql
parent95b0ec7bbdf02617164390a5b3cbad3fe424db9b (diff)
downloadhercules-af787d3f9ad773b697802d85c8d69f27e2eb599c.tar.gz
hercules-af787d3f9ad773b697802d85c8d69f27e2eb599c.tar.bz2
hercules-af787d3f9ad773b697802d85c8d69f27e2eb599c.tar.xz
hercules-af787d3f9ad773b697802d85c8d69f27e2eb599c.zip
Fixed the client version check in the loginserver's ... now the servers
can connect XD (sex 0 fix) ^^ [Sirius] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1068 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-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;
+ }
}
}