summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-05-16 09:57:30 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-05-16 10:01:14 +0200
commit92410e9949f372e262818fa5d6f2aeb9093e841f (patch)
tree000fe10806533a568ee1e3bf9067a891f7aa4200
parente6a3d087042b72e66529ca8a16702df890b899fc (diff)
downloadweechat-92410e9949f372e262818fa5d6f2aeb9093e841f.zip
irc: sort config options alphabetically (issue #1622)
-rw-r--r--src/plugins/irc/irc-config.c18
-rw-r--r--src/plugins/irc/irc-config.h2
2 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index d6e1e607c..ebb6c37c0 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -116,9 +116,9 @@ struct t_config_option *irc_config_color_item_channel_modes;
struct t_config_option *irc_config_color_item_lag_counting;
struct t_config_option *irc_config_color_item_lag_finished;
struct t_config_option *irc_config_color_item_nick_modes;
-struct t_config_option *irc_config_color_item_tls_version_ok;
struct t_config_option *irc_config_color_item_tls_version_deprecated;
struct t_config_option *irc_config_color_item_tls_version_insecure;
+struct t_config_option *irc_config_color_item_tls_version_ok;
struct t_config_option *irc_config_color_message_account;
struct t_config_option *irc_config_color_message_join;
struct t_config_option *irc_config_color_message_chghost;
@@ -3247,14 +3247,6 @@ irc_config_init ()
NULL, NULL, NULL,
&irc_config_change_color_item_nick_modes, NULL, NULL,
NULL, NULL, NULL);
- irc_config_color_item_tls_version_ok = weechat_config_new_option (
- irc_config_file, ptr_section,
- "item_tls_version_ok", "color",
- N_("color for higher supported TLS version in bar item \"tls_version\""),
- NULL, -1, 0, "green", NULL, 0,
- NULL, NULL, NULL,
- &irc_config_change_color_item_tls_version, NULL, NULL,
- NULL, NULL, NULL);
irc_config_color_item_tls_version_deprecated = weechat_config_new_option (
irc_config_file, ptr_section,
"item_tls_version_deprecated", "color",
@@ -3271,6 +3263,14 @@ irc_config_init ()
NULL, NULL, NULL,
&irc_config_change_color_item_tls_version, NULL, NULL,
NULL, NULL, NULL);
+ irc_config_color_item_tls_version_ok = weechat_config_new_option (
+ irc_config_file, ptr_section,
+ "item_tls_version_ok", "color",
+ N_("color for higher supported TLS version in bar item \"tls_version\""),
+ NULL, -1, 0, "green", NULL, 0,
+ NULL, NULL, NULL,
+ &irc_config_change_color_item_tls_version, NULL, NULL,
+ NULL, NULL, NULL);
irc_config_color_message_account = weechat_config_new_option (
irc_config_file, ptr_section,
"message_account", "color",
diff --git a/src/plugins/irc/irc-config.h b/src/plugins/irc/irc-config.h
index cbd7f45f1..3f6a38e5c 100644
--- a/src/plugins/irc/irc-config.h
+++ b/src/plugins/irc/irc-config.h
@@ -154,9 +154,9 @@ extern struct t_config_option *irc_config_color_item_channel_modes;
extern struct t_config_option *irc_config_color_item_lag_counting;
extern struct t_config_option *irc_config_color_item_lag_finished;
extern struct t_config_option *irc_config_color_item_nick_modes;
-extern struct t_config_option *irc_config_color_item_tls_version_ok;
extern struct t_config_option *irc_config_color_item_tls_version_deprecated;
extern struct t_config_option *irc_config_color_item_tls_version_insecure;
+extern struct t_config_option *irc_config_color_item_tls_version_ok;
extern struct t_config_option *irc_config_color_message_account;
extern struct t_config_option *irc_config_color_message_chghost;
extern struct t_config_option *irc_config_color_message_join;