mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 19:53:13 +02:00
irc: make default chantypes configurable
This commit is contained in:
@@ -5112,6 +5112,14 @@ irc_command_display_server (struct t_irc_server *server, int with_detail)
|
||||
weechat_printf (NULL, " charset_message. . . : %s'%s'",
|
||||
IRC_COLOR_CHAT_VALUE,
|
||||
weechat_config_string (server->options[IRC_SERVER_OPTION_CHARSET_MESSAGE]));
|
||||
/* chantypes */
|
||||
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_DEFAULT_CHANTYPES]))
|
||||
weechat_printf (NULL, " chantypes. . . . . . : ('%s')",
|
||||
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_DEFAULT_CHANTYPES));
|
||||
else
|
||||
weechat_printf (NULL, " chantypes. . . . . . : %s'%s'",
|
||||
IRC_COLOR_CHAT_VALUE,
|
||||
weechat_config_string (server->options[IRC_SERVER_OPTION_DEFAULT_CHANTYPES]));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user