* Fixed character deletion working on SQL without an email address (Thanks to Valaris) [Zephiris]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5449 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Zephiris
2006-03-03 18:09:24 +00:00
parent 373436fbde
commit d4ccec0203
2 changed files with 2 additions and 0 deletions

View File

@@ -1860,6 +1860,7 @@ int parse_tologin(int fd) {
for(i = 0; i < fd_max; i++) {
if (session[i] && (sd = (struct char_session_data*)session[i]->session_data)) {
if (sd->account_id == RFIFOL(fd,2)) {
memcpy(sd->email, RFIFOP(fd, 6), 40);
sd->connect_until_time = (time_t)RFIFOL(fd,46);
break;
}