summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-12 18:08:43 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-12 18:08:43 +0200
commit37e39c26ce7b48452aa41fa562667e48260afcfc (patch)
tree83126b1b14dcd2cae4ae4c6f7ff380a70481570c
parente57659e63f0c4c41fb774cd84ead368bb163b8b3 (diff)
Make #hexchat@freenode the default
-rw-r--r--src/common/servlist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/servlist.c b/src/common/servlist.c
index aa32aa4d..71f21db2 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -215,7 +215,7 @@ static const struct defaultserver def[] =
 	{0,			"irc.ggn.net"},
 	{0,			"irc.vendetta.com"},
 
-	{"FreeNode",	0},
+	{"FreeNode",	0,	"#hexchat"},
 	{0,				"irc.freenode.net"},
 
 /*	{"Freeworld",	0},
@@ -908,7 +908,8 @@ servlist_load_defaults (void)
 				free (net->encoding);
 				net->encoding = strdup (def[i].charset);
 			}
-			if (g_str_hash (def[i].network) == 0x8e1b96f7)
+			/* 0x8e1b96f7 = ChatJunkies, 0xa82686ae = FreeNode */
+			if (g_str_hash (def[i].network) == 0xa82686ae)
 				prefs.slist_select = j;
 			j++;
 		} else