Fixed a bug where it was impossible to accept specific friend requests.
This commit is contained in:
parent
ec0c54acb8
commit
62f6dca32e
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ tox_weechat_cmd_friend(void *data, struct t_gui_buffer *buffer,
|
|||
}
|
||||
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)
|
||||
{
|
||||
weechat_printf(tox_main_buffer,
|
||||
|
|
Loading…
Reference in a new issue