From 5357aa15b9f57ce402bcfa81156a89aa8546d7ac Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 23 Sep 2005 17:37:28 +0000 Subject: [PATCH] (deli): Break the loop if player->aborted. Without that, it can prompt for more input, violating the client protocol. --- src/lib/commands/deli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/deli.c b/src/lib/commands/deli.c index 46fc0d67..14df1e6a 100644 --- a/src/lib/commands/deli.c +++ b/src/lib/commands/deli.c @@ -66,7 +66,7 @@ deli(void) if (!snxtsct(&nstr, player->argp[2])) return RET_SYN; - while (nxtsct(&nstr, §) > 0) { + while (!player->aborted && nxtsct(&nstr, §) > 0) { if (!player->owner) continue;