Mercurial > pidgin
diff src/connection.c @ 10384:b234ad7e0dfe
[gaim-migrate @ 11610]
I think this is a better fix for the jabber problem.
I think that gaim_account_get_connection should never return NULL when
called inside a prpl from a function being called by the core.
I think ChipX86 wrote the code that I'm changing that made account->gc =
NULL. So if he has any objections, he should raise them.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 15 Dec 2004 22:25:55 +0000 |
parents | 56b53036e48c |
children | 6a043ae92db6 |
line wrap: on
line diff
--- a/src/connection.c Wed Dec 15 21:03:19 2004 +0000 +++ b/src/connection.c Wed Dec 15 22:25:55 2004 +0000 @@ -215,7 +215,7 @@ account = gaim_connection_get_account(gc); - if (gaim_account_get_connection(account) != NULL) { + if (!account->disconnecting) { gaim_account_disconnect(account); return; }