| 612 const char *bname = purple_buddy_get_name(buddy); |
612 const char *bname = purple_buddy_get_name(buddy); |
| 613 |
613 |
| 614 ib = g_hash_table_lookup(irc->buddies, bname); |
614 ib = g_hash_table_lookup(irc->buddies, bname); |
| 615 if (ib != NULL) { |
615 if (ib != NULL) { |
| 616 ib->ref++; |
616 ib->ref++; |
| 617 purple_prpl_got_user_status(irc->account, bname, |
617 purple_protocol_got_user_status(irc->account, bname, |
| 618 ib->online ? "available" : "offline", NULL); |
618 ib->online ? "available" : "offline", NULL); |
| 619 } else { |
619 } else { |
| 620 ib = g_new0(struct irc_buddy, 1); |
620 ib = g_new0(struct irc_buddy, 1); |
| 621 ib->name = g_strdup(bname); |
621 ib->name = g_strdup(bname); |
| 622 ib->ref = 1; |
622 ib->ref = 1; |
| 978 NULL, /* roomlist_expand_category */ |
978 NULL, /* roomlist_expand_category */ |
| 979 NULL, /* can_receive_file */ |
979 NULL, /* can_receive_file */ |
| 980 irc_dccsend_send_file, /* send_file */ |
980 irc_dccsend_send_file, /* send_file */ |
| 981 irc_dccsend_new_xfer, /* new_xfer */ |
981 irc_dccsend_new_xfer, /* new_xfer */ |
| 982 NULL, /* offline_message */ |
982 NULL, /* offline_message */ |
| 983 NULL, /* whiteboard_prpl_ops */ |
983 NULL, /* whiteboard_protocol_ops */ |
| 984 irc_send_raw, /* send_raw */ |
984 irc_send_raw, /* send_raw */ |
| 985 NULL, /* roomlist_room_serialize */ |
985 NULL, /* roomlist_room_serialize */ |
| 986 NULL, /* unregister_user */ |
986 NULL, /* unregister_user */ |
| 987 NULL, /* send_attention */ |
987 NULL, /* send_attention */ |
| 988 NULL, /* get_attention_types */ |
988 NULL, /* get_attention_types */ |