removed unused find_color fn

This commit is contained in:
Václav Šmejkal 2024-02-21 21:25:49 +01:00
parent c163b63afc
commit 32592aefb8
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -407,16 +407,6 @@ void send_welcome_socket_deallocate(char *text, char *username, int socket) //SA
why2_toml_read_free(username); why2_toml_read_free(username);
} }
int find_colon(char *text)
{
for (int i = 0; i < (int) strlen(text); i++)
{
if (text[i] == ':') return i;
}
return -1;
}
void send_welcome_packet(int connection) void send_welcome_packet(int connection)
{ {
send_welcome_socket_deallocate(WHY2_CHAT_CODE_ACCEPT_MESSAGES, why2_chat_server_config("server_username"), connection); send_welcome_socket_deallocate(WHY2_CHAT_CODE_ACCEPT_MESSAGES, why2_chat_server_config("server_username"), connection);