diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-03-26 12:02:38 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-03-26 12:02:38 +0000 |
commit | ff9456329255ef8b227f9322ca8d25ef6c790e7e (patch) | |
tree | e69ce4fd6a3149a0b228f7cdbfb09df86f998e6b /protocols | |
parent | 13688ecb47afd26d7f06b8ec3830154426a0d4ff (diff) |
Set the libpurple proxy server in a way that should work with older
libpurple versions.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/purple/purple.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index fe655f4c..55678f92 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -1243,7 +1243,7 @@ void purple_initmodule() if( proxytype != PROXY_NONE ) { - PurpleProxyInfo *pi = purple_proxy_info_new(); + PurpleProxyInfo *pi = purple_global_proxy_get_info(); switch( proxytype ) { case PROXY_SOCKS4: @@ -1260,7 +1260,6 @@ void purple_initmodule() purple_proxy_info_set_port( pi, proxyport ); purple_proxy_info_set_username( pi, proxyuser ); purple_proxy_info_set_password( pi, proxypass ); - purple_global_proxy_set_info( pi ); } purple_set_blist( purple_blist_new() ); |