Skip to content

Commit 770b527

Browse files
committed
Do not fail if beep was received after sending some command.
We probably should remove CommandSent state totally...
1 parent 2293d34 commit 770b527

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ proceed_icb_msg(char *msg, size_t len) {
506506
}
507507

508508
case 'k': // beep
509-
if (state != Chat)
509+
if (state != Chat && state != CommandSent)
510510
err_unexpected_msg(type);
511511
proceed_chat_msg(type, "SERVER", "BEEP!");
512512
break;

0 commit comments

Comments
 (0)