aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index e85661bf53..668a8c4483 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -768,7 +768,8 @@ mail_config_prune_proxies (void)
EAccountList *
mail_config_get_accounts (void)
{
- g_assert (config != NULL);
+ if (config == NULL)
+ mail_config_init ();
return config->accounts;
}