diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-13 08:43:57 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-13 08:43:57 +0200 |
commit | cbd72ff4554faadd8552d61cd85241cf3565847b (patch) | |
tree | 1229692a8ca3c2ce92ed42f16808406535814d9f /src/common/xchat.c | |
parent | dbef9c9eb419d756d8e2b7db880467e881d8943d (diff) |
Get rid of auto_save, we always want to save
Diffstat (limited to 'src/common/xchat.c')
-rw-r--r-- | src/common/xchat.c | 12 |
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 (); |