summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc.c')
-rw-r--r--src/plugins/irc/irc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c
index 2b341b99f..6c807ddaf 100644
--- a/src/plugins/irc/irc.c
+++ b/src/plugins/irc/irc.c
@@ -189,6 +189,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
/* modifiers */
weechat_hook_modifier ("irc_color_decode", &irc_color_modifier_cb, NULL);
weechat_hook_modifier ("irc_color_encode", &irc_color_modifier_cb, NULL);
+ weechat_hook_modifier ("irc_color_decode_ansi", &irc_color_modifier_cb, NULL);
/* hook completions */
irc_completion_init ();
@@ -281,5 +282,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
irc_redirect_end ();
+ irc_color_end ();
+
return WEECHAT_RC_OK;
}