diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-15 11:12:49 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-15 11:12:49 +0100 |
commit | d3c85c920c367d23820d58e448dfec30873a488c (patch) | |
tree | 73f334aaf413e882eab7f8160696c01585efb387 /src/plugins/irc/irc.c | |
parent | e38f437ad739967c5e8e5388ff47d38fb88b2a9f (diff) | |
download | weechat-d3c85c920c367d23820d58e448dfec30873a488c.zip |
irc: add modifier "irc_color_decode_ansi"
Diffstat (limited to 'src/plugins/irc/irc.c')
-rw-r--r-- | src/plugins/irc/irc.c | 3 |
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; } |