From 1978ed4cd8ebc029ac298d7e0a4f7619b02bd32c Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 31 Jan 2025 13:40:25 +0100 Subject: [PATCH] sending WHY2_CHAT_CODE_INVALID_USERNAME as a code --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 4c82e37..6ea4c46 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -589,7 +589,7 @@ void *why2_communicate_thread(void *arg) if (invalid_username) { - send_socket_deallocate(WHY2_CHAT_CODE_INVALID_USERNAME, why2_chat_server_config("server_username"), connection); //TELL THE USER THEY ARE DUMB AS FUCK + send_socket_code_deallocate(NULL, why2_chat_server_config("server_username"), connection, WHY2_CHAT_CODE_INVALID_USERNAME); //TELL THE USER THEY ARE DUMB AS FUCK continue; }