summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-24 18:37:06 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-03-24 18:37:06 +0100
commitf457d779a419c6c90165a8aa9c3138904ffea084 (patch)
tree9b7f6fc13697b9b827a1879e234e32f4a96f1c46 /src
parentafc1ecdaf9b316b627644652c8c579fed83063fc (diff)
downloadweechat-f457d779a419c6c90165a8aa9c3138904ffea084.zip
irc: fix debug print of modelist item number and pointer
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-modelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-modelist.c b/src/plugins/irc/irc-modelist.c
index aaf6f5f4a..8db4aa9ea 100644
--- a/src/plugins/irc/irc-modelist.c
+++ b/src/plugins/irc/irc-modelist.c
@@ -475,7 +475,7 @@ void
irc_modelist_item_print_log (struct t_irc_modelist_item *item)
{
weechat_log_printf ("");
- weechat_log_printf (" => modelist item %d (addr:0x%lx):", item, item->number);
+ weechat_log_printf (" => modelist item %d (addr:0x%lx):", item->number, item);
weechat_log_printf (" mask . . . . . . . . . . : '%s'", item->mask);
weechat_log_printf (" setter . . . . . . . . . : '%s'", item->setter);
weechat_log_printf (" datetime . . . . . . . . : %lld",