proxy fix

Valentin Batz <[email protected]> Wed, 17 Dec 2003 20:27:01 +0100
Newsgroups gmane.network.irc.irssi.devel
Message-ID <31144513.1071692821@[192.168.0.2]>
Hi all,

I found a bug in my own patch,
that i submitted some time ago.
The proxy forgets about ctcp forwarding
if the server disconnects the proxy
and the proxy reconnects to it again.

patch included.

Greetings

Valentin Batz
(senneth on IRCnet)
proxy_ctcp_forwarding_loss_fix.diff (application/octet-stream, 349 B)
--- src/irc/proxy/listen.c.org	2003-12-17 20:20:04.000000000 +0100
+++ src/irc/proxy/listen.c	2003-12-17 20:20:33.000000000 +0100
@@ -457,7 +457,6 @@
 			proxy_outdata(rec, ":%s NOTICE %s :Connected to server\n",
 				      rec->proxy_address, rec->nick);
 			rec->server = server;
-			rec->want_ctcp = 0;
 			proxy_client_reset_nick(rec);
 		}
 	}