From 54a5f181b5bfcb840c593bbb9df34f453f4d2050 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 10 Nov 2005 22:30:39 +0000 Subject: Fixed bug with DCC chat close and get_dcc_info plugin function --- src/irc/irc-dcc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irc') diff --git a/src/irc/irc-dcc.c b/src/irc/irc-dcc.c index 103791aa2..83cb66450 100644 --- a/src/irc/irc-dcc.c +++ b/src/irc/irc-dcc.c @@ -424,6 +424,8 @@ dcc_close (t_irc_dcc *ptr_dcc, int status) } } + ptr_dcc->channel = NULL; + if (DCC_IS_CHAT(ptr_dcc->type)) channel_remove_dcc (ptr_dcc); -- cgit v1.2.3