[smuxi] Engine-IRC: replace Freenode with Libera.Chat



commit 5c6cb025e6ad614ce03d7ffb396f314b039a5253
Author: Mirco Bauer <meebey meebey net>
Date:   Wed Mar 9 09:02:15 2022 +0800

    Engine-IRC: replace Freenode with Libera.Chat
    
    Replace Freenode with Libera.Chat after a hostile takeover of the Freenode
    network [0].
    
     [0]: https://www.vice.com/en/article/m7ev8y/freenode-open-source-korea-crown-prince-takeover

 src/Engine/Config/Config.cs                        | 24 +++++++++++-----------
 src/Frontend-GNOME/Views/Chats/ProtocolChatView.cs |  1 +
 2 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/src/Engine/Config/Config.cs b/src/Engine/Config/Config.cs
index dd9a410f..d1d5cfee 100644
--- a/src/Engine/Config/Config.cs
+++ b/src/Engine/Config/Config.cs
@@ -391,18 +391,18 @@ namespace Smuxi.Engine
             Get(prefix + "Password", String.Empty);
             Get(prefix + "UseEncryption", false);
             Get(prefix + "ValidateServerCertificate", false);
-                
-            prefix = "Engine/Users/DEFAULT/Servers/IRC/irc.freenode.net/";
-            Get(prefix + "Hostname", "irc.freenode.net");
-            Get(prefix + "Port", 6667);
-            Get(prefix + "Network", "freenode");
-            Get(prefix + "Nickname", String.Empty);
-            Get(prefix + "Realname", String.Empty);
-            Get(prefix + "Username", String.Empty);
-            Get(prefix + "Password", String.Empty);
-            Get(prefix + "UseEncryption", false);
-            Get(prefix + "ValidateServerCertificate", false);
-            
+
+            prefix = "Engine/Users/DEFAULT/Servers/IRC/irc.libera.chat/";
+            Get (prefix + "Hostname", "irc.libera.chat");
+            Get (prefix + "Port", 6667);
+            Get (prefix + "Network", "Libera.Chat");
+            Get (prefix + "Nickname", String.Empty);
+            Get (prefix + "Realname", String.Empty);
+            Get (prefix + "Username", String.Empty);
+            Get (prefix + "Password", String.Empty);
+            Get (prefix + "UseEncryption", false);
+            Get (prefix + "ValidateServerCertificate", false);
+
             prefix = "Engine/Users/";
             Get(prefix+"Users", new string[] { "local" });
             
diff --git a/src/Frontend-GNOME/Views/Chats/ProtocolChatView.cs 
b/src/Frontend-GNOME/Views/Chats/ProtocolChatView.cs
index 4fb9844d..8cd4bbee 100644
--- a/src/Frontend-GNOME/Views/Chats/ProtocolChatView.cs
+++ b/src/Frontend-GNOME/Views/Chats/ProtocolChatView.cs
@@ -79,6 +79,7 @@ namespace Smuxi.Frontend.Gnome
             NetworkWebsiteUrls.Add("ustream", "http://www.ustream.tv/";);
             NetworkWebsiteUrls.Add("Infinity-IRC", "http://www.infinityirc.com/";);
             NetworkWebsiteUrls.Add("GeekShed", "http://www.geekshed.net/";);
+            NetworkWebsiteUrls.Add("Libera.Chat", "https://libera.chat/";);
 
             // IRC bridges
             NetworkWebsiteUrls.Add("Slack", "https://slack.com/";);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]