summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-20 11:00:22 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-20 11:00:22 +0200
commit987234faf91bad4b9710f2062a9b90c08137e751 (patch)
tree55f085e3b91d109dc390706415c786863c910f6a /src/plugins/irc/irc-config.c
parent8b62667111e324caba431e759b17f31e413f8c6a (diff)
downloadweechat-987234faf91bad4b9710f2062a9b90c08137e751.zip
Add hook_connect (background connection to peer)
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index d55719c8e..603f0a0c9 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -35,8 +35,8 @@
char *irc_config_server_option_string[IRC_CONFIG_NUM_SERVER_OPTIONS] =
{ "autoconnect", "autoreconnect", "autoreconnect_delay", "addresses", "ipv6",
- "ssl", "password", "nicks", "username", "realname", "hostname", "command",
- "command_delay", "autojoin", "autorejoin", "notify_levels"
+ "ssl", "password", "nicks", "username", "realname", "local_hostname",
+ "command", "command_delay", "autojoin", "autorejoin", "notify_levels"
};
char *irc_config_server_option_default[IRC_CONFIG_NUM_SERVER_OPTIONS] =
{ "off", "on", "30", "", "off", "off", "", "", "", "", "", "", "0", "",
@@ -614,12 +614,12 @@ irc_config_server_new_option (struct t_config_file *config_file,
callback_change, callback_change_data,
callback_delete, callback_delete_data);
break;
- case IRC_CONFIG_SERVER_HOSTNAME:
+ case IRC_CONFIG_SERVER_LOCAL_HOSTNAME:
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- N_("custom hostname/IP for server (optional, if empty local hostname "
- "is used)"),
+ N_("custom local hostname/IP for server (optional, if empty "
+ "local hostname is used)"),
NULL, 0, 0, value, NULL, NULL,
callback_change, callback_change_data,
callback_delete, callback_delete_data);