diff src/gaimrc.c @ 5659:6b3214ab8632

[gaim-migrate @ 6073] Added gaim_account_set_check_mail(), and imported the pref. Now we just have to save it and use it again. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 08:49:23 +0000
parents 8fa4a0d756a0
children 18f7a2abc3fc
line wrap: on
line diff
--- a/src/gaimrc.c	Mon Jun 02 08:24:04 2003 +0000
+++ b/src/gaimrc.c	Mon Jun 02 08:49:23 2003 +0000
@@ -568,10 +568,13 @@
 	if (strcmp(p->option, "user_opts"))
 		return account;
 
-	/* TODO: Handle OPT_ACCT_AUTO and OPT_ACCT_MAIL_CHECK */
+	/* TODO: Handle OPT_ACCT_AUTO */
 
 	flags = atoi(p->value[0]);
 
+	if (flags & OPT_ACCT_MAIL_CHECK)
+		gaim_account_set_check_mail(account, TRUE);
+
 	if (!(flags & OPT_ACCT_REM_PASS))
 		gaim_account_set_remember_password(account, FALSE);