diff options
author | Matti Virkkunen <mvirkkunen@gmail.com> | 2021-01-30 01:01:51 +0200 |
---|---|---|
committer | Matti Virkkunen <mvirkkunen@gmail.com> | 2021-01-30 01:01:51 +0200 |
commit | bad6dc8a57acfc935425a5467659c553fadb5393 (patch) | |
tree | 43417ef94b0e5b70d5c903bfa8d4888a1579ca87 /src/plugins/irc/irc-config.c | |
parent | dc8df133eac846cf68204d8f0f9dbe7acb47ac53 (diff) | |
download | weechat-bad6dc8a57acfc935425a5467659c553fadb5393.zip |
irc: make default chantypes configurable
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r-- | src/plugins/irc/irc-config.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index 9e4570534..9975bd964 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -2434,6 +2434,23 @@ irc_config_server_new_option (struct t_config_file *config_file, callback_change_data, NULL, NULL, NULL); break; + case IRC_SERVER_OPTION_DEFAULT_CHANTYPES: + new_option = weechat_config_new_option ( + config_file, section, + option_name, "string", + N_("channel type prefixes to use if the server does not " + "specify them (default is #&)"), + NULL, 0, 0, + default_value, value, + null_value_allowed, + callback_check_value, + callback_check_value_pointer, + callback_check_value_data, + callback_change, + callback_change_pointer, + callback_change_data, + NULL, NULL, NULL); + break; case IRC_SERVER_NUM_OPTIONS: break; } |