From b14c8de7105a9f570a227ce7f8608103b205eca9 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 25 Feb 2024 14:23:53 +0100 Subject: [PATCH] sending ssqc on every message loop end --- 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 857cc43..2b661ba 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -665,7 +665,7 @@ void *why2_communicate_thread(void *arg) json_object_put(json); } - if (exiting) send_socket_deallocate(WHY2_CHAT_CODE_SSQC, why2_chat_server_config("server_username"), connection); + send_socket_deallocate(WHY2_CHAT_CODE_SSQC, why2_chat_server_config("server_username"), connection); printf("User disconnected.\t%d\n", connection);