changeset 5972:c36b3c654761

[gaim-migrate @ 6419] I might as well commit it right this instant. This makes Gaim not output silly gtk error things when importing a buddy pounce on an account that no longer exists. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 29 Jun 2003 06:16:16 +0000
parents 0878caaef952
children 53782414bc3a
files src/gaimrc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gaimrc.c	Sun Jun 29 01:00:22 2003 +0000
+++ b/src/gaimrc.c	Sun Jun 29 06:16:16 2003 +0000
@@ -1644,6 +1644,8 @@
 		ph = (struct pounce_placeholder *)l->data;
 
 		account = gaim_accounts_find(ph->pouncer, ph->protocol);
+		if (account == NULL)
+			continue;
 
 		old_pounce_opts_to_new(ph->options, &events, &actions);