summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-24 17:12:12 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-03-24 18:36:32 +0100
commitafc1ecdaf9b316b627644652c8c579fed83063fc (patch)
treebbbb6e172d9f82fca10662e0e701fe0a9ad13e8b /src/plugins/irc
parentcbad99356f577a0260078e87e5af45bddc3220ba (diff)
downloadweechat-afc1ecdaf9b316b627644652c8c579fed83063fc.zip
irc: fix debug print of modelist item datetime value
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-modelist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-modelist.c b/src/plugins/irc/irc-modelist.c
index 697e8da39..aaf6f5f4a 100644
--- a/src/plugins/irc/irc-modelist.c
+++ b/src/plugins/irc/irc-modelist.c
@@ -478,7 +478,8 @@ irc_modelist_item_print_log (struct t_irc_modelist_item *item)
weechat_log_printf (" => modelist item %d (addr:0x%lx):", item, item->number);
weechat_log_printf (" mask . . . . . . . . . . : '%s'", item->mask);
weechat_log_printf (" setter . . . . . . . . . : '%s'", item->setter);
- weechat_log_printf (" datetime . . . . . . . . : '%s'", item->datetime);
+ weechat_log_printf (" datetime . . . . . . . . : %lld",
+ (long long)(item->datetime));
weechat_log_printf (" prev_item . . . . . . . : 0x%lx", item->prev_item);
weechat_log_printf (" next_item . . . . . . . : 0x%lx", item->next_item);
}