diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-02-19 20:20:04 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-02-19 20:20:04 +0100 |
commit | 588921686de6f67b1a9e3b7d693f9c891f1388bc (patch) | |
tree | af438910b981ae8576d13017db2b6ad3e8756c66 /src/plugins/irc/irc-display.c | |
parent | 8d630641dc4172180672ff46728143aabf4e00f3 (diff) | |
download | weechat-588921686de6f67b1a9e3b7d693f9c891f1388bc.zip |
irc: rename server option "cap" to "capabilities"
Diffstat (limited to 'src/plugins/irc/irc-display.c')
-rw-r--r-- | src/plugins/irc/irc-display.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/irc/irc-display.c b/src/plugins/irc/irc-display.c index ef16f0747..8bd2b343b 100644 --- a/src/plugins/irc/irc-display.c +++ b/src/plugins/irc/irc-display.c @@ -253,14 +253,14 @@ irc_display_server (struct t_irc_server *server, int with_detail) weechat_printf (NULL, " password . . . . . . : %s%s", IRC_COLOR_CHAT_VALUE, _("(hidden)")); - /* cap (capabilities) */ - if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_CAP])) - weechat_printf (NULL, " cap. . . . . . . . . : ('%s')", - IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_CAP)); + /* client capabilities */ + if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_CAPABILITIES])) + weechat_printf (NULL, " capabilities . . . . : ('%s')", + IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_CAPABILITIES)); else - weechat_printf (NULL, " cap. . . . . . . . . : %s'%s'", + weechat_printf (NULL, " capabilities . . . . : %s'%s'", IRC_COLOR_CHAT_VALUE, - weechat_config_string (server->options[IRC_SERVER_OPTION_CAP])); + weechat_config_string (server->options[IRC_SERVER_OPTION_CAPABILITIES])); /* sasl_mechanism */ if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_SASL_MECHANISM])) weechat_printf (NULL, " sasl_mechanism . . . : ('%s')", |