1
0
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:
Simmo Saan
2016-10-12 21:38:49 +03:00
parent c1b39ee5c2
commit 03fbb4ffdc
5 changed files with 48 additions and 0 deletions
+8
View File
@@ -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
{