Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix server sync reading and wrong disconnection from API Server #3304

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/login/login.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ static void login_fromchar_parse_online_accounts(int fd, int id)
login->online_db->foreach(login->online_db, login->online_db_setoffline, id); //Set all chars from this char-server offline first
users = RFIFOW(fd,4);
guilherme-gm marked this conversation as resolved.
Show resolved Hide resolved
for (i = 0; i < users; i++) {
int aid = RFIFOL(fd,6+i*4);
int aid = RFIFOL(fd, 8 + i * 4);
struct online_login_data *p = idb_ensure(login->online_db, aid, login->create_online_user);
p->char_server = id;
if (p->waiting_disconnect != INVALID_TIMER)
Expand Down
Loading