diff options
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 (); |