comparison src/server.c @ 6556:4c9e8867c45c

[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 <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 21 Aug 2003 15:41:04 +0000
parents e74e378e86bf
children 1dc3eac729d1
comparison
equal deleted inserted replaced
6555:ec1a178b2608 6556:4c9e8867c45c
1091 struct buddy *b; 1091 struct buddy *b;
1092 GSList *buddies; 1092 GSList *buddies;
1093 1093
1094 account = gaim_connection_get_account(gc); 1094 account = gaim_connection_get_account(gc);
1095 b = gaim_find_buddy(account, name); 1095 b = gaim_find_buddy(account, name);
1096
1097 if(!b) /* This shouldn't happen, but apparently does */
1098 return;
1099
1096 c = gaim_find_conversation(b->name); 1100 c = gaim_find_conversation(b->name);
1097 1101
1098 if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options & 1102 if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options &
1099 OPT_PROTO_CORRECT_TIME)) { 1103 OPT_PROTO_CORRECT_TIME)) {
1100 1104