summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
authorSimmo Saan <simmo.saan@gmail.com>2015-07-20 16:17:11 +0300
committerSimmo Saan <simmo.saan@gmail.com>2015-07-20 19:02:20 +0300
commit6ef0e5ec1e36b4f39fb1bf82c234a259c86e8db3 (patch)
tree8d6ee773f494aecfc639c138e6885d3b2f207c72 /src/plugins/irc/irc-config.c
parentb1bd5c721e66fc4ff414516ad839622988b65e71 (diff)
downloadweechat-6ef0e5ec1e36b4f39fb1bf82c234a259c86e8db3.zip
irc: add separate color option for current topic in channel buffer
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index 85539eb96..9ebeb3b7d 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -125,6 +125,7 @@ struct t_config_option *irc_config_color_mirc_remap;
struct t_config_option *irc_config_color_nick_prefixes;
struct t_config_option *irc_config_color_notice;
struct t_config_option *irc_config_color_reason_quit;
+struct t_config_option *irc_config_color_topic_current;
struct t_config_option *irc_config_color_topic_new;
struct t_config_option *irc_config_color_topic_old;
@@ -2907,6 +2908,12 @@ irc_config_init ()
N_("color for reason in part/quit messages"),
NULL, -1, 0, "default", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
+ irc_config_color_topic_current = weechat_config_new_option (
+ irc_config_file, ptr_section,
+ "topic_current", "color",
+ N_("color for current channel topic (when joining or using /topic)"),
+ NULL, -1, 0, "default", NULL, 0, NULL, NULL,
+ NULL, NULL, NULL, NULL);
irc_config_color_topic_new = weechat_config_new_option (
irc_config_file, ptr_section,
"topic_new", "color",