Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 10485:58ab47ed31bf
[gaim-migrate @ 11775]
i think this is something like what we want
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 08 Jan 2005 18:53:49 +0000 |
parents | 94fd0bf8c4b1 |
children | 659edfcac14e |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Jan 08 07:40:31 2005 +0000 +++ b/src/protocols/oscar/oscar.c Sat Jan 08 18:53:49 2005 +0000 @@ -16,7 +16,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License @@ -5797,6 +5797,9 @@ GaimStatusType *type = gaim_status_get_type(status); int primitive = gaim_status_type_get_primitive(type); + if(!gaim_status_is_active(status)) + return; + if (primitive == !GAIM_STATUS_OFFLINE && !gc) { gaim_account_connect(account, status); } else if (primitive == GAIM_STATUS_OFFLINE && gc) {