summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-11-10 22:30:39 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-11-10 22:30:39 +0000
commit54a5f181b5bfcb840c593bbb9df34f453f4d2050 (patch)
tree91b8b74e626ca7a32ef1def2bb7482a64a0ec224 /src
parentdd735af7f823b8136f80ce3b809dd1bac4cd5e0e (diff)
downloadweechat-54a5f181b5bfcb840c593bbb9df34f453f4d2050.zip
Fixed bug with DCC chat close and get_dcc_info plugin function
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc-dcc.c2
1 files changed, 2 insertions, 0 deletions
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);