revert "sending ssqc on every message loop end"

this reverts commit b14c8de7105a9f570a227ce7f8608103b205eca9

it seems that I created the check for some reason
This commit is contained in:
Václav Šmejkal 2024-02-26 15:19:41 +01:00
parent 850ab11272
commit 274a3e1772
No known key found for this signature in database
GPG Key ID: A77FB9B47AD0B168

View File

@ -665,7 +665,7 @@ void *why2_communicate_thread(void *arg)
json_object_put(json); json_object_put(json);
} }
send_socket_deallocate(WHY2_CHAT_CODE_SSQC, why2_chat_server_config("server_username"), connection); if (exiting) send_socket_deallocate(WHY2_CHAT_CODE_SSQC, why2_chat_server_config("server_username"), connection);
printf("User disconnected.\t%d\n", connection); printf("User disconnected.\t%d\n", connection);