diff plugins/icq/gaim_icq.c @ 1881:a02584b98823

[gaim-migrate @ 1891] C:) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 23 May 2001 07:59:05 +0000
parents 896432d66303
children 73d73939f698
line wrap: on
line diff
--- a/plugins/icq/gaim_icq.c	Tue May 22 23:23:28 2001 +0000
+++ b/plugins/icq/gaim_icq.c	Wed May 23 07:59:05 2001 +0000
@@ -5,6 +5,7 @@
 #include "multi.h" /* needed for gaim_connection */
 #include "prpl.h"  /* needed for prpl */
 #include "gaim.h"  /* needed for every other damn thing */
+#include "proxy.h"
 
 #include "pixmaps/gnomeicu-online.xpm"
 #include "pixmaps/gnomeicu-away.xpm"
@@ -270,6 +271,9 @@
 	link->icq_Log = icq_do_log;
 	link->icq_RequestNotify = icq_req_not;
 
+	if (proxytype == PROXY_SOCKS5)
+		icq_SetProxy(link, proxyhost, proxyport, proxyuser[0], proxyuser, proxypass);
+
 	icq_ContactClear(id->link);
 	if (bud_list_cache_exists(gc))
 		do_import(NULL, gc);