comparison src/list.c @ 4919:a1551892049c

[gaim-migrate @ 5253] hrmm, thought I had committed this already... more goodies when I get back from my test :-) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 31 Mar 2003 14:18:24 +0000
parents cfa045006bec
children cfeab08d4be9
comparison
equal deleted inserted replaced
4918:553d96cb9b26 4919:a1551892049c
437 while (group) { 437 while (group) {
438 buddy = group->child; 438 buddy = group->child;
439 while (buddy) { 439 while (buddy) {
440 if (account == ((struct buddy*)buddy)->account) { 440 if (account == ((struct buddy*)buddy)->account) {
441 ((struct buddy*)buddy)->present = 0; 441 ((struct buddy*)buddy)->present = 0;
442 ops->remove(gaimbuddylist, buddy); 442 if(ops)
443 ops->remove(gaimbuddylist, buddy);
443 } 444 }
444 buddy = buddy->next; 445 buddy = buddy->next;
445 } 446 }
446 group = group->next; 447 group = group->next;
447 } 448 }