mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
Add server option umodes (closes #377)
This commit is contained in:
@@ -4852,6 +4852,14 @@ 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user