From d12936d1d06873623a4ef67b48b1aa5022d1a4d3 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 30 Aug 2024 00:23:49 +0200 Subject: [PATCH] showing pm to both users --- src/chat/misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 41386c8..d110239 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -725,7 +725,8 @@ void *why2_communicate_thread(void *arg) sprintf(private_msg, WHY2_CHAT_CODE_PM_SERVER ";%s;%s;%s;%c", node.username, (*(connection_node_t*) pm_connection -> value).username, msg, '\0'); //SEND YOU DUMB FUCK - send_socket_deallocate(private_msg, why2_chat_server_config("server_username"), (*(connection_node_t*) pm_connection -> value).connection); + send_socket_deallocate(private_msg, why2_chat_server_config("server_username"), (*(connection_node_t*) pm_connection -> value).connection); //RECIPIENT + send_socket_deallocate(private_msg, why2_chat_server_config("server_username"), connection); //AUTHOR why2_deallocate(private_msg); }