friend remove fix

This commit is contained in:
Gordon Quad 2016-12-05 00:37:40 +00:00
parent 8501d36ee9
commit 1c819672ce
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ twc_cmd_friend(const void *pointer, void *data, struct t_gui_buffer *buffer,
TWC_CHECK_FRIEND_NUMBER(profile, friend_number, argv[2]);
char *name = twc_get_name_nt(profile->tox, friend_number);
if (tox_friend_delete(profile->tox, friend_number, NULL) == 0)
if (tox_friend_delete(profile->tox, friend_number, NULL))
{
weechat_printf(profile->buffer,
"%sRemoved %s from friend list.",