From b66c4739b8a524efcd8d848265bd6f73d08db6c4 Mon Sep 17 00:00:00 2001 From: Zephiris Date: Fri, 3 Mar 2006 18:09:24 +0000 Subject: * Fixed character deletion working on SQL without an email address (Thanks to Valaris) [Zephiris] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5449 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/char_sql') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index ea26de414..6d1ea1959 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -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; } -- cgit v1.2.3-70-g09d2