# HG changeset patch # User Nathan Walp # Date 1061480464 0 # Node ID 4c9e8867c45cc3536d95cf719898e76ea54d101f # Parent ec1a178b2608a87748f1439c363c2f67b51fb49f [gaim-migrate @ 7078] I seriously don't know why we would ever get presence updates for buddies not on our list, but apparently it happens. This makes it not blow up. committer: Tailor Script diff -r ec1a178b2608 -r 4c9e8867c45c src/server.c --- a/src/server.c Thu Aug 21 14:49:49 2003 +0000 +++ b/src/server.c Thu Aug 21 15:41:04 2003 +0000 @@ -1093,6 +1093,10 @@ account = gaim_connection_get_account(gc); b = gaim_find_buddy(account, name); + + if(!b) /* This shouldn't happen, but apparently does */ + return; + c = gaim_find_conversation(b->name); if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options &