Mercurial > pidgin.yaz
diff libpurple/protocols/msn/notification.c @ 20992:758d10b409a5
Don't reinitialize the OIM session on subsequent calls.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 19 Oct 2007 01:42:52 +0000 |
parents | 2097b1664fa3 |
children | f387e8c671a4 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Fri Oct 19 01:38:35 2007 +0000 +++ b/libpurple/protocols/msn/notification.c Fri Oct 19 01:42:52 2007 +0000 @@ -1790,7 +1790,9 @@ return; /*new a oim session*/ - session->oim = msn_oim_new(session); + /* There are several things that call this */ + if (session->oim == NULL) + session->oim = msn_oim_new(session); // msn_oim_connect(session->oim); table = msn_message_get_hashtable_from_body(msg);