diff --git a/src/chat/main/client.c b/src/chat/main/client.c index b803738..7e61a85 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -85,6 +85,7 @@ int main(void) { signal(SIGINT, exit_client); //HANDLE ^C + why2_check_version(); //CHECK FOR UPDATES why2_chat_init_client_config(); //CREATE client.toml CONFIGURATION why2_chat_init_keys(); //CREATE RSA KEYS diff --git a/src/chat/main/server.c b/src/chat/main/server.c index 287e3f2..6378ff9 100644 --- a/src/chat/main/server.c +++ b/src/chat/main/server.c @@ -34,6 +34,7 @@ along with this program. If not, see . int main(void) { + why2_check_version(); //CHECK FOR UPDATES why2_chat_init_server_config(); //CREATE server.toml CONFIGURATION int listen_socket = socket(AF_INET, SOCK_STREAM, 0); //CREATE SERVER SOCKET