using codes in exit_client fn

This commit is contained in:
Václav Šmejkal 2025-01-31 14:11:27 +01:00
parent 0781fc4caf
commit c0c0ad6894
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -43,7 +43,7 @@ void exit_client(WHY2_UNUSED int i) //guess what
if (exited) return; if (exited) return;
exited = 1; exited = 1;
why2_send_socket(WHY2_CHAT_CODE_EXIT, NULL, listen_socket); why2_send_socket_code(NULL, NULL, listen_socket, WHY2_CHAT_CODE_EXIT);
} }
why2_bool command(char *input, char *command, char **arg) why2_bool command(char *input, char *command, char **arg)