From 4134f9d1b376ccd55c82688bb9a3110c1bd4cd5c Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 27 Apr 2024 11:49:00 +0200 Subject: [PATCH] implemented LIST command in client not in server yet haha --- src/chat/main/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chat/main/client.c b/src/chat/main/client.c index 6198c8f..e9bc7e0 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -180,6 +180,9 @@ int main(void) ); fflush(stdout); + } else if (command(line, WHY2_CHAT_COMMAND_LIST, &cmd_arg)) //HELP CMD + { + why2_send_socket(WHY2_CHAT_CODE_LIST, NULL, listen_socket); } } else {