diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c index b15ab5f1e..70ac933b4 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -3114,6 +3114,7 @@ int parse_login(int fd) { }
account.version = RFIFOL(fd, 2); //for exe version check [Sirius]
+ if (!account.version) account.version = 1; //Force some version...
memcpy(account.userid,RFIFOP(fd,6),NAME_LENGTH);
account.userid[23] = '\0';
remove_control_chars((unsigned char *)account.userid);
|