sending WHY2_CHAT_CODE_PICK_USERNAME as a code

This commit is contained in:
Václav Šmejkal 2025-01-31 13:38:21 +01:00
parent 4ca411f32b
commit fa8560d51a
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -540,7 +540,7 @@ void *why2_communicate_thread(void *arg)
{ {
if (config_username == NULL) fprintf(stderr, "Your config doesn't contain 'user_pick_username'. Please update your configuration.\n"); if (config_username == NULL) fprintf(stderr, "Your config doesn't contain 'user_pick_username'. Please update your configuration.\n");
send_socket_deallocate(WHY2_CHAT_CODE_PICK_USERNAME, why2_chat_server_config("server_username"), connection); //ASK USER FOR USERNAME send_socket_code_deallocate(NULL, why2_chat_server_config("server_username"), connection, WHY2_CHAT_CODE_PICK_USERNAME); //ASK USER FOR USERNAME
while (invalid_username) while (invalid_username)
{ {