]> jfr.im git - irc/hexchat/hexchat.git/commitdiff
Change default network to Libera.Chat
authorPatrick Griffis <redacted>
Mon, 24 May 2021 02:15:43 +0000 (21:15 -0500)
committerPatrick Griffis <redacted>
Mon, 24 May 2021 02:15:52 +0000 (21:15 -0500)
src/common/servlist.c
src/fe-gtk/joind.c

index de75c8b9a5f146286a793013736834a079aef2b1..93557f975207f736f6032bd14a51654afff04d74 100644 (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)
        {
index f1d3da504562033b89c5200436d6c9e7f5d5459e..ce3cbcaeca8f26a32ad0906a29c78d754ffb2cfd 100644 (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");
                }