Fixed a bug where it was impossible to accept specific friend requests.
This commit is contained in:
parent
ec0c54acb8
commit
62f6dca32e
@ -196,7 +196,7 @@ tox_weechat_cmd_friend(void *data, struct t_gui_buffer *buffer,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unsigned int num = atoi(argv[1]);
|
unsigned int num = atoi(argv[2]);
|
||||||
if (num == 0 || (request = tox_weechat_friend_request_with_num(num)) == NULL)
|
if (num == 0 || (request = tox_weechat_friend_request_with_num(num)) == NULL)
|
||||||
{
|
{
|
||||||
weechat_printf(tox_main_buffer,
|
weechat_printf(tox_main_buffer,
|
||||||
|
Loading…
Reference in New Issue
Block a user