Journal input of special cookies "ctld" and "aborted"
The latter is necessary to interpret the journal correctly. The former isn't, as it should always lead to a logout straight away, but treating it just the same is simple and doesn't hurt.
This commit is contained in:
parent
f3202225f2
commit
a433320125
1 changed files with 1 additions and 1 deletions
|
@ -68,6 +68,7 @@ recvclient(char *cmd, int size)
|
|||
player->eof = 1;
|
||||
if (strcmp(cmd, "aborted") == 0)
|
||||
player->aborted = 1;
|
||||
journal_input(cmd);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -94,6 +95,5 @@ recvclient(char *cmd, int size)
|
|||
if (player->aborted)
|
||||
return -2;
|
||||
|
||||
journal_input(cmd);
|
||||
return count;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue