diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index ff6dcb293..d1aedd37b 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2077,7 +2077,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 == acc) { - session[i]->eof = 1; + set_eof(i); break; } } @@ -2122,7 +2122,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)) { - session[i]->eof = 1; + set_eof(i); break; } } |