1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

irc: rename server option "umodes" to "usermode"

This commit is contained in:
Sébastien Helleu
2016-12-11 13:43:34 +01:00
parent 50a50d0339
commit ab490e10c7
24 changed files with 155 additions and 42 deletions
+8 -8
View File
@@ -4718,6 +4718,14 @@ irc_command_display_server (struct t_irc_server *server, int with_detail)
weechat_printf (NULL, " local_hostname . . . : %s'%s'",
IRC_COLOR_CHAT_VALUE,
weechat_config_string (server->options[IRC_SERVER_OPTION_LOCAL_HOSTNAME]));
/* usermode */
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_USERMODE]))
weechat_printf (NULL, " usermode . . . . . . : ('%s')",
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_USERMODE));
else
weechat_printf (NULL, " usermode . . . . . . : %s'%s'",
IRC_COLOR_CHAT_VALUE,
weechat_config_string (server->options[IRC_SERVER_OPTION_USERMODE]));
/* command */
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_COMMAND]))
{
@@ -4858,14 +4866,6 @@ irc_command_display_server (struct t_irc_server *server, int with_detail)
weechat_printf (NULL, " notify . . . . . . . : %s'%s'",
IRC_COLOR_CHAT_VALUE,
weechat_config_string (server->options[IRC_SERVER_OPTION_NOTIFY]));
/* umodes*/
if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_UMODES]))
weechat_printf (NULL, " umodes . . . . . . . : ('%s')",
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_UMODES));
else
weechat_printf (NULL, " umodes . . . . . . . : %s'%s'",
IRC_COLOR_CHAT_VALUE,
weechat_config_string (server->options[IRC_SERVER_OPTION_UMODES]));
}
else
{