friend accept fix

This commit is contained in:
Gordon Quad 2016-12-05 01:08:19 +00:00
parent 1c819672ce
commit b17f1a89c6

View File

@ -464,7 +464,7 @@ twc_cmd_friend(const void *pointer, void *data, struct t_gui_buffer *buffer,
if (accept)
{
if (twc_friend_request_accept(request))
if (!twc_friend_request_accept(request))
{
weechat_printf(profile->buffer,
"%sCould not accept friend request from %s",