Fixed /msg outputting like an action locally.

This commit is contained in:
Håvard Pettersson 2014-09-02 23:57:48 +02:00
parent 30be0397da
commit 9d24666f7c

View File

@ -280,7 +280,7 @@ tox_weechat_cmd_msg(void *data, struct t_gui_buffer *buffer,
(uint8_t *)argv_eol[1], (uint8_t *)argv_eol[1],
strlen(argv_eol[2])); 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_message(chat, name, argv_eol[1]);
free(name); free(name);
} }