summary refs log tree commit diff stats
path: root/src/common/xchat.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-13 08:43:57 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 08:43:57 +0200
commitcbd72ff4554faadd8552d61cd85241cf3565847b (patch)
tree1229692a8ca3c2ce92ed42f16808406535814d9f /src/common/xchat.c
parentdbef9c9eb419d756d8e2b7db880467e881d8943d (diff)
Get rid of auto_save, we always want to save
Diffstat (limited to 'src/common/xchat.c')
-rw-r--r--src/common/xchat.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c
index 12c31379..7e9cc8c7 100644
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -847,14 +847,18 @@ xchat_exit (void)
 	in_xchat_exit = TRUE;
 	plugin_kill_all ();
 	fe_cleanup ();
-	if (prefs.autosave)
+
+	save_config ();
+	if (prefs.save_pevents)
 	{
-		save_config ();
-		if (prefs.save_pevents)
-			pevent_save (NULL);
+		pevent_save (NULL);
 	}
+
 	if (prefs.autosave_url)
+	{
 		url_autosave ();
+	}
+
 	sound_save ();
 	notify_save ();
 	ignore_save ();