Don't send "idle connection terminated" in login phase
Message was introduced in commit 08b94556
, v4.3.20. Revert this
change, because it's undocumented, and probably not useful for
clients.
This commit is contained in:
parent
2503e41bd2
commit
bc629096c0
1 changed files with 1 additions and 4 deletions
|
@ -95,11 +95,8 @@ player_login(void *ud)
|
||||||
}
|
}
|
||||||
if (io_gets(player->iop, buf, sizeof(buf)) < 0) {
|
if (io_gets(player->iop, buf, sizeof(buf)) < 0) {
|
||||||
res = io_input(player->iop, deadline);
|
res = io_input(player->iop, deadline);
|
||||||
if (res <= 0) {
|
if (res <= 0)
|
||||||
if (res == 0 && !io_eof(player->iop))
|
|
||||||
pr_id(player, C_DATA, "idle connection terminated\n");
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
journal_input(buf);
|
journal_input(buf);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue