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:
Markus Armbruster 2008-04-29 21:42:17 +02:00
parent f3202225f2
commit a433320125

View file

@ -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;
}