summaryrefslogtreecommitdiff
path: root/src/irc/irc-channel.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-04-03 16:01:10 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-04-03 16:01:10 +0000
commit5068f4d3657060316954a1c6564f710c4aed70fc (patch)
tree3ce04f0f144d45895a93de83e695f42d72fcef8a /src/irc/irc-channel.c
parent212ec7a76dbc408abec8af508e8ba55a02129b12 (diff)
downloadweechat-5068f4d3657060316954a1c6564f710c4aed70fc.zip
Added nick alignment in DCC chat, /query and /msg, fixed DCC chat bug when closing buffer
Diffstat (limited to 'src/irc/irc-channel.c')
-rw-r--r--src/irc/irc-channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c
index 547a8075f..5901eee65 100644
--- a/src/irc/irc-channel.c
+++ b/src/irc/irc-channel.c
@@ -98,6 +98,7 @@ channel_free (t_irc_server *server, t_irc_channel *channel)
if ((t_irc_dcc *)(channel->dcc_chat) &&
(!DCC_ENDED(((t_irc_dcc *)(channel->dcc_chat))->status)))
{
+ ((t_irc_dcc *)(channel->dcc_chat))->channel = NULL;
dcc_close ((t_irc_dcc *)(channel->dcc_chat), DCC_ABORTED);
dcc_redraw (1);
}