summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorsirius <sirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-15 09:47:08 +0000
committersirius <sirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-15 09:47:08 +0000
commit8c276f1978677fb63b7cf3fe9255491768d8895d (patch)
tree1ae9f48b989d8f6fd68d8f15d97de15fb7c21e4a /src/login
parentc73cd00ae16ee8235f7e2929dfafabdeacbc4745 (diff)
downloadhercules-8c276f1978677fb63b7cf3fe9255491768d8895d.tar.gz
hercules-8c276f1978677fb63b7cf3fe9255491768d8895d.tar.bz2
hercules-8c276f1978677fb63b7cf3fe9255491768d8895d.tar.xz
hercules-8c276f1978677fb63b7cf3fe9255491768d8895d.zip
CharSQL: fixed the 0x2b05 packet, now the multi mapservers works ...
Login/LoginSQL: fixed the version check finaly :) now the servers can connect XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1110 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-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