]> jfr.im git - irc/xchat.git/commitdiff
Fixed adding a channel with "Add to Favorites" sometimes not saving to disk.
authorzed <redacted>
Sun, 16 Aug 2009 06:55:21 +0000 (06:55 +0000)
committerzed <redacted>
Sun, 16 Aug 2009 06:55:21 +0000 (06:55 +0000)
git-svn-id: svn://svn.code.sf.net/p/xchat/svn@1367 893a96be-7f27-4fdf-9d1e-6aeec9d3cce1

src/fe-gtk/servlistgui.c

index 6b9f1ccb25f6b23dbc6327c7cca297bbe4425f54..b30d737e705f00c13dae7be4eb913df307178166 100644 (file)
@@ -810,6 +810,9 @@ servlist_autojoineditok_cb (GtkWidget *button, GtkWidget *tree)
 
        /* this does g_free too */
        joinlist_free (channels, keys);
+
+       if (fav_add_net)
+               servlist_save ();
 }
 
 void