diff --git a/src/chat/main/authority.c b/src/chat/main/authority.c index 683b047..8e3b311 100644 --- a/src/chat/main/authority.c +++ b/src/chat/main/authority.c @@ -35,6 +35,7 @@ along with this program. If not, see . int main(void) { + __why2_chat_set_server(1); why2_check_version(); //CHECK FOR UPDATES why2_chat_init_authority(); //CREATE AUTHORITY DIRECTORY why2_chat_init_keys(); //CREATE ECC KEY diff --git a/src/chat/main/server.c b/src/chat/main/server.c index 08a6cdc..b01c31f 100644 --- a/src/chat/main/server.c +++ b/src/chat/main/server.c @@ -35,6 +35,7 @@ along with this program. If not, see . int main(void) { + __why2_chat_set_server(1); why2_check_version(); //CHECK FOR UPDATES why2_chat_init_server_config(); //CREATE server.toml CONFIGURATION why2_chat_init_keys(); //CREATE ECC KEY