summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c1
1 files changed, 1 insertions, 0 deletions
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;
}