From b17f1a89c69b2ccd0c62564158c661713f2c5752 Mon Sep 17 00:00:00 2001 From: Gordon Quad Date: Mon, 5 Dec 2016 01:08:19 +0000 Subject: [PATCH] friend accept fix --- src/twc-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twc-commands.c b/src/twc-commands.c index 3a77041..b143e19 100644 --- a/src/twc-commands.c +++ b/src/twc-commands.c @@ -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",