summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 5a197ca43..f4a40c990 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -1470,6 +1470,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);
safestrncpy(account.passwd, (char*)RFIFOP(fd,26), NAME_LENGTH);
server_ip = ntohl(RFIFOL(fd,54));