Fixed /msg sending recipient as part of the message.
This commit is contained in:
parent
49ad868436
commit
30be0397da
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ tox_weechat_cmd_msg(void *data, struct t_gui_buffer *buffer,
|
||||||
tox_send_message(tox,
|
tox_send_message(tox,
|
||||||
friend_number,
|
friend_number,
|
||||||
(uint8_t *)argv_eol[1],
|
(uint8_t *)argv_eol[1],
|
||||||
strlen(argv_eol[1]));
|
strlen(argv_eol[2]));
|
||||||
char *name = tox_weechat_get_self_name_nt();
|
char *name = tox_weechat_get_self_name_nt();
|
||||||
tox_weechat_chat_print_action(chat, name, argv_eol[1]);
|
tox_weechat_chat_print_action(chat, name, argv_eol[1]);
|
||||||
free(name);
|
free(name);
|
||||||
|
|
Loading…
Reference in a new issue