Change default network to Libera.Chat

This commit is contained in:
Patrick Griffis 2021-05-23 21:15:43 -05:00
parent ad20708766
commit d3545f37cd
2 changed files with 3 additions and 3 deletions

View File

@ -240,7 +240,7 @@ static const struct defaultserver def[] =
/* Self signed */
{0, "irc.librairc.net"},
{"Libera Chat", 0, 0, 0, LOGIN_SASL, 0, TRUE},
{"Libera.Chat", 0, 0, 0, LOGIN_SASL, 0, TRUE},
{0, "irc.libera.chat"},
#ifdef USE_OPENSSL
@ -942,7 +942,7 @@ servlist_load_defaults (void)
{
int i = 0, j = 0;
ircnet *net = NULL;
guint def_hash = g_str_hash ("freenode");
guint def_hash = g_str_hash ("Libera.Chat");
while (1)
{

View File

@ -247,7 +247,7 @@ joind_show_dialog (server *serv)
G_CALLBACK (joind_ok_cb), serv);
if (serv->network)
if (g_ascii_strcasecmp(((ircnet*)serv->network)->name, "freenode") == 0)
if (g_ascii_strcasecmp(((ircnet*)serv->network)->name, "Libera.Chat") == 0)
{
gtk_entry_set_text (GTK_ENTRY (entry1), "#hexchat");
}