Changeset f8feb8a for root_commands.c
- Timestamp:
- 2015-05-07T10:33:06Z (10 years ago)
- Children:
- 0ace810
- Parents:
- e9face7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
re9face7 rf8feb8a 647 647 irc_rootmsg(irc, "That account is not on-line"); 648 648 return; 649 } else if (add_on_server && !a->prpl->add_buddy) { 650 irc_rootmsg(irc, "IM protocol does not support contact list modification"); 651 return; 649 652 } 650 653 … … 717 720 s = g_strdup(bu->handle); 718 721 719 bu->ic->acc->prpl->remove_buddy(bu->ic, bu->handle, NULL); 722 if (bu->ic->acc->prpl->remove_buddy) { 723 bu->ic->acc->prpl->remove_buddy(bu->ic, bu->handle, NULL); 724 } else { 725 irc_rootmsg(irc, "IM protocol does not support contact list modification, " 726 "removal will likely not be permanent"); 727 } 728 720 729 nick_del(bu); 721 730 if (g_slist_find(irc->users, iu)) {
Note: See TracChangeset
for help on using the changeset viewer.