sending WHY2_CHAT_CODE_INVALID_PASSWORD as a code

This commit is contained in:
Václav Šmejkal 2025-01-31 13:54:13 +01:00
parent 2394006d76
commit 771e0de333
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -636,7 +636,7 @@ void *why2_communicate_thread(void *arg)
goto deallocation; goto deallocation;
} }
send_socket_deallocate(WHY2_CHAT_CODE_INVALID_PASSWORD, why2_chat_server_config("server_username"), connection); send_socket_code_deallocate(NULL, why2_chat_server_config("server_username"), connection, WHY2_CHAT_CODE_INVALID_PASSWORD);
} }
} }