summary refs log tree commit diff stats
path: root/src/fe-gtk/servlistgui.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-06-06 16:12:59 -0400
committerTingPing <tingping@tingping.se>2013-06-06 16:12:59 -0400
commita6f05db34b538a03c05f6e29fbf41314bbd93f34 (patch)
tree8c5cec0363b00a0e78d056d6fcd12fc79d40266f /src/fe-gtk/servlistgui.c
parentdf0ee53765942d10e074659d88d7956294e74bcb (diff)
Make autojoin a toggle menu
Diffstat (limited to 'src/fe-gtk/servlistgui.c')
-rw-r--r--src/fe-gtk/servlistgui.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c
index 566f4163..94cb209f 100644
--- a/src/fe-gtk/servlistgui.c
+++ b/src/fe-gtk/servlistgui.c
@@ -1061,24 +1061,18 @@ void
 servlist_autojoinedit (ircnet *net, char *channel, gboolean add)
 {
 	favchannel *fav;
-	char *buf;
 
 	if (add)
 	{
 		servlist_favchan_add (net, channel);
 		servlist_save ();
-		buf = g_strdup_printf (_("Channel %s added to autojoin."), channel);
 	}
 	else
 	{
 		fav = servlist_favchan_find (net, channel, NULL);
 		servlist_favchan_remove (net, fav);
 		servlist_save ();
-		buf = g_strdup_printf (_("Channel %s removed from autojoin."), channel);
 	}
-
-	fe_message (buf, FE_MSG_INFO);
-	g_free (buf);
 }
 
 static void