summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index 415c86076..8ced94784 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -569,11 +569,11 @@ irc_config_server_new_option (struct t_config_file *config_file,
switch (index_option)
{
- case IRC_SERVER_OPTION_AUTOCONNECT:
+ case IRC_SERVER_OPTION_ADDRESSES:
new_option = weechat_config_new_option (
config_file, section,
- option_name, "boolean",
- N_("automatically connect to server when WeeChat is starting"),
+ option_name, "string",
+ N_("list of hostname/port or IP/port for server (separated by comma)"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -581,11 +581,11 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_AUTORECONNECT:
+ case IRC_SERVER_OPTION_PROXY:
new_option = weechat_config_new_option (
config_file, section,
- option_name, "boolean",
- N_("automatically reconnect to server when disconnected"),
+ option_name, "string",
+ N_("proxy used for this server (optional)"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -593,23 +593,23 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_AUTORECONNECT_DELAY:
+ case IRC_SERVER_OPTION_IPV6:
new_option = weechat_config_new_option (
config_file, section,
- option_name, "integer",
- N_("delay (in seconds) before trying again to reconnect to server"),
- NULL, 0, 65535,
+ option_name, "boolean",
+ N_("use IPv6 protocol for server communication"),
+ NULL, 0, 0,
default_value, value,
null_value_allowed,
NULL, NULL,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_PROXY:
+ case IRC_SERVER_OPTION_SSL:
new_option = weechat_config_new_option (
config_file, section,
- option_name, "string",
- N_("proxy used for this server (optional)"),
+ option_name, "boolean",
+ N_("use SSL for server communication"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -617,11 +617,11 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_ADDRESSES:
+ case IRC_SERVER_OPTION_PASSWORD:
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- N_("list of IP/port or hostname/port for server (separated by comma)"),
+ N_("password for server"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -629,11 +629,11 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_IPV6:
+ case IRC_SERVER_OPTION_AUTOCONNECT:
new_option = weechat_config_new_option (
config_file, section,
option_name, "boolean",
- N_("use IPv6 protocol for server communication"),
+ N_("automatically connect to server when WeeChat is starting"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -641,11 +641,11 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_SSL:
+ case IRC_SERVER_OPTION_AUTORECONNECT:
new_option = weechat_config_new_option (
config_file, section,
option_name, "boolean",
- N_("use SSL for server communication"),
+ N_("automatically reconnect to server when disconnected"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -653,12 +653,12 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
NULL, NULL);
break;
- case IRC_SERVER_OPTION_PASSWORD:
+ case IRC_SERVER_OPTION_AUTORECONNECT_DELAY:
new_option = weechat_config_new_option (
config_file, section,
- option_name, "string",
- N_("password for IRC server"),
- NULL, 0, 0,
+ option_name, "integer",
+ N_("delay (in seconds) before trying again to reconnect to server"),
+ NULL, 0, 65535,
default_value, value,
null_value_allowed,
NULL, NULL,
@@ -669,7 +669,7 @@ irc_config_server_new_option (struct t_config_file *config_file,
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- N_("nicknames to use on IRC server (separated by comma)"),
+ N_("nicknames to use on server (separated by comma)"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -681,7 +681,7 @@ irc_config_server_new_option (struct t_config_file *config_file,
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- N_("user name to use on IRC server"),
+ N_("user name to use on server"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -693,7 +693,7 @@ irc_config_server_new_option (struct t_config_file *config_file,
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- N_("real name to use on IRC server"),
+ N_("real name to use on server"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
@@ -1181,7 +1181,7 @@ irc_config_init ()
irc_config_network_send_unknown_commands = weechat_config_new_option (
irc_config_file, ptr_section,
"send_unknown_commands", "boolean",
- N_("send unknown commands to IRC server"),
+ N_("send unknown commands to server"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL,
&irc_config_change_network_send_unknown_commands, NULL, NULL, NULL);