summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-info.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-07-14 14:27:23 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-12 13:05:49 +0200
commit2f1de098bd3a44eaf0cfccb2c126250bb50f11b9 (patch)
tree03c6e6e5cf4b233d51b92f3542ed90636c98a202 /src/plugins/irc/irc-info.c
parentd25a4213fecf8abccfecda4229fe85bfcf4a51b7 (diff)
downloadweechat-2f1de098bd3a44eaf0cfccb2c126250bb50f11b9.zip
irc: add buffer for /list reply (closes #1972)
New options: - irc.color.list_buffer_line_selected - irc.color.list_buffer_line_selected_bg - irc.look.list_buffer_sort - irc.look.list_buffer_scroll_horizontal - irc.look.new_list_position - irc.look.list_buffer_topic_strip_colors
Diffstat (limited to 'src/plugins/irc/irc-info.c')
-rw-r--r--src/plugins/irc/irc-info.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c
index 98da456f8..a95d95f1f 100644
--- a/src/plugins/irc/irc-info.c
+++ b/src/plugins/irc/irc-info.c
@@ -30,6 +30,7 @@
#include "irc-color.h"
#include "irc-config.h"
#include "irc-ignore.h"
+#include "irc-list.h"
#include "irc-message.h"
#include "irc-modelist.h"
#include "irc-nick.h"
@@ -1384,4 +1385,10 @@ irc_info_init ()
weechat_hook_hdata (
"irc_batch", N_("irc batch"),
&irc_batch_hdata_batch_cb, NULL, NULL);
+ weechat_hook_hdata (
+ "irc_list_channel", N_("irc channel on /list buffer"),
+ &irc_list_hdata_list_channel_cb, NULL, NULL);
+ weechat_hook_hdata (
+ "irc_list", N_("irc data for /list buffer"),
+ &irc_list_hdata_list_cb, NULL, NULL);
}