fixed weechat_printf_date_tags call for weechat 1.6 API

This commit is contained in:
Gordon Quad 2016-12-03 04:37:41 +00:00
parent f22cf92146
commit fa77a3084e

View File

@ -287,13 +287,13 @@ twc_chat_print_message(struct t_twc_chat *chat,
switch (message_type)
{
case TWC_MESSAGE_TYPE_MESSAGE:
weechat_printf_tags(chat->buffer, tags,
weechat_printf_date_tags(chat->buffer, 0, tags,
"%s%s%s\t%s",
color, sender,
weechat_color("reset"), message);
break;
case TWC_MESSAGE_TYPE_ACTION:
weechat_printf_tags(chat->buffer, tags,
weechat_printf_date_tags(chat->buffer, 0, tags,
"%s%s%s%s %s",
weechat_prefix("action"),
color, sender,