konversation (1.3.1-2) debian_channel.diff

Summary

 src/config/preferences.cpp |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

From: Modestas Vainius <modestas@vainius.eu>
Subject: [PATCH] debian/debian_channel

Connect to Debian IRC server and join both #debian and
#debian-kde channels by default.

Signed-off-by: Modestas Vainius <modestas@vainius.eu>

---
 src/config/preferences.cpp |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

--- a/src/config/preferences.cpp
+++ b/src/config/preferences.cpp
@@ -61,14 +61,16 @@ Preferences::Preferences()
     mIdentity->setNicknameList(nickList);
 
     Konversation::ServerGroupSettingsPtr serverGroup(new Konversation::ServerGroupSettings);
-    serverGroup->setName("Freenode");
+    serverGroup->setName("Debian IRC");
     Konversation::ServerSettings server;
-    server.setHost("chat.freenode.net");
-    server.setPort(8001);
+    server.setHost("irc.debian.org");
+    server.setPort(7000);
     serverGroup->addServer(server);
     serverGroup->setIdentityId(mIdentity->id());
     Konversation::ChannelSettings channel;
-    channel.setName("#konversation");
+    channel.setName("#debian");
+    serverGroup->addChannel(channel);
+    channel.setName("#debian-kde");
     serverGroup->addChannel(channel);
     serverGroup->setExpanded(false);
     mServerGroupHash.insert(0, serverGroup);