From 8bad65f1437eb91cb63e9382542442775ade747b Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 11 Jan 2008 14:48:45 +0000 Subject: Patched a mistake in r12043 that caused inter-server connection problems when check_client_version was enabled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12055 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login') diff --git a/src/login/login.c b/src/login/login.c index 6ed9fdb6a..02c6cbd38 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -2042,6 +2042,7 @@ int parse_login(int fd) memset(&account, 0, sizeof(account)); account.passwdenc = 0; + account.version = login_config.client_version_to_connect; // hack to skip version check safestrncpy(account.userid, (char*)RFIFOP(fd,2), NAME_LENGTH); remove_control_chars(account.userid); safestrncpy(account.passwd, (char*)RFIFOP(fd,26), NAME_LENGTH); remove_control_chars(account.passwd); server_ip = ntohl(RFIFOL(fd,54)); -- cgit v1.2.3-70-g09d2