summaryrefslogtreecommitdiff
path: root/src/core/servers-setup.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-20 23:24:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-20 23:24:45 +0000
commitae6d2014e5c2916a17b17320159b0b4b63956746 (patch)
treebff195d29c0298ffbf0c74a167f1dc6b3d2d5cd3 /src/core/servers-setup.c
parent27d7eaa3bf6901bb2f07126df713aa6568f09e8d (diff)
downloadirssi-ae6d2014e5c2916a17b17320159b0b4b63956746.zip
added /SET proxy_password
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1414 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers-setup.c')
-rw-r--r--src/core/servers-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index a2baa3c2..deaf3cc9 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -131,6 +131,7 @@ static void server_setup_fill(SERVER_CONNECT_REC *conn,
conn->proxy = g_strdup(settings_get_str("proxy_address"));
conn->proxy_port = settings_get_int("proxy_port");
conn->proxy_string = g_strdup(settings_get_str("proxy_string"));
+ conn->proxy_password = g_strdup(settings_get_str("proxy_password"));
}
/* source IP */
@@ -502,6 +503,7 @@ void servers_setup_init(void)
settings_add_str("proxy", "proxy_address", "");
settings_add_int("proxy", "proxy_port", 6667);
settings_add_str("proxy", "proxy_string", "CONNECT %s %d");
+ settings_add_str("proxy", "proxy_password", "");
setupservers = NULL;
source_host_ip4 = source_host_ip6 = NULL;