# HG changeset patch # User Ethan Blanton # Date 1134098936 0 # Node ID 98be11e744a8e9ffc01031b80d06e0cc6ca993fb # Parent 6066f8e2782d796affd3b6205a6319b4371dcb5e [gaim-migrate @ 14733] For some reason, in some cases we're setting the "message" property on statuses when a remote user logs out; it appears to be because we're actually getting that property from OSCAR. This suppresses that setting, because the status API isn't happy receiving a NULL status type. committer: Tailor Script diff -r 6066f8e2782d -r 98be11e744a8 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Fri Dec 09 03:28:17 2005 +0000 +++ b/src/protocols/oscar/oscar.c Fri Dec 09 03:28:56 2005 +0000 @@ -5117,7 +5117,7 @@ presence = gaim_buddy_get_presence(b); status = gaim_presence_get_active_status(presence); - if (!gaim_status_is_available(status)) + if (!gaim_status_is_available(status) && gaim_status_is_online(status)) { if ((userinfo != NULL) && (userinfo->flags & AIM_FLAG_AWAY) && (userinfo->away_len > 0) && (userinfo->away != NULL) && (userinfo->away_encoding != NULL)) {