summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c8
-rw-r--r--src/core/wee-upgrade.c5
2 files changed, 8 insertions, 5 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 6d916f0a4..219c0400e 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -5170,10 +5170,10 @@ COMMAND_CALLBACK(print)
{
if (free_content)
{
- gui_chat_printf_y (ptr_buffer, y,
- "%s%s",
- (prefix) ? prefix : "",
- text2);
+ gui_chat_printf_y_date_tags (ptr_buffer, y, date, tags,
+ "%s%s",
+ (prefix) ? prefix : "",
+ text2);
}
else
{
diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c
index 090c5be9a..48c859416 100644
--- a/src/core/wee-upgrade.c
+++ b/src/core/wee-upgrade.c
@@ -659,7 +659,10 @@ upgrade_weechat_read_buffer_line (struct t_infolist *infolist)
case GUI_BUFFER_TYPE_FREE:
new_line = gui_line_new (upgrade_current_buffer,
infolist_integer (infolist, "y"),
- 0, 0, NULL, NULL,
+ infolist_time (infolist, "date"),
+ infolist_time (infolist, "date_printed"),
+ infolist_string (infolist, "tags"),
+ NULL,
infolist_string (infolist, "message"));
if (new_line)
gui_line_add_y (new_line);