printing username in server

This commit is contained in:
Václav Šmejkal 2024-01-28 13:39:03 +01:00
parent a6f50c2ddd
commit cce133e56c
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -423,6 +423,8 @@ void *why2_communicate_thread(void *arg)
{
why2_send_socket(WHY2_CHAT_CODE_INVALID_USERNAME, WHY2_CHAT_SERVER_USERNAME, connection); //TELL THE USER HE IS DUMB AS FUCK
}
printf("User set username.\t%d\t%s\n", connection, decoded_buffer);
}
}