about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 703a698..f7fff33 100644
--- a/client.c
+++ b/client.c
@@ -202,7 +202,7 @@ static void clientParse(struct Client *client, char *line) {
 	for (size_t i = 0; i < ARRAY_LEN(Handlers); ++i) {
 		if (strcmp(msg.cmd, Handlers[i].cmd)) continue;
 		Handlers[i].fn(client, &msg);
-		break;
+		return;
 	}
 	client->error = true;
 }