summaryrefslogtreecommitdiff
path: root/src/core/servers-setup.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-01-22 20:29:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-01-22 20:29:45 +0000
commit0157d234f87337f51bb6e3fb285eb89dc44ac5ac (patch)
tree2c1f88ed3c07eec00888d3a5d1590d582a19007e /src/core/servers-setup.c
parent5202ef93147c71a746e31f656d9735077ee86fa2 (diff)
downloadirssi-0157d234f87337f51bb6e3fb285eb89dc44ac5ac.zip
Added /SET proxy_string_after setting which gets sent after NICK/USER, bnc
wants this. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2338 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 c1db7d1c..3f500a07 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_string_after = g_strdup(settings_get_str("proxy_string_after"));
conn->proxy_password = g_strdup(settings_get_str("proxy_password"));
}
@@ -515,6 +516,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_string_after", "");
settings_add_str("proxy", "proxy_password", "");
setupservers = NULL;