summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-dcc.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-10 17:18:40 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-10 17:18:40 +0100
commit256557f900d82149b2ada5619bd52b5e4e3fc78b (patch)
tree1025cc708de4e5c28d8efbfddc229f6d029a8578 /src/plugins/irc/irc-dcc.c
parent8b3980f508972313c89a7fcb5a96fed3dccff7cc (diff)
downloadweechat-256557f900d82149b2ada5619bd52b5e4e3fc78b.zip
Many changes in IRC plugin
Diffstat (limited to 'src/plugins/irc/irc-dcc.c')
-rw-r--r--src/plugins/irc/irc-dcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-dcc.c b/src/plugins/irc/irc-dcc.c
index 3c6b130e4..01da53991 100644
--- a/src/plugins/irc/irc-dcc.c
+++ b/src/plugins/irc/irc-dcc.c
@@ -380,7 +380,7 @@ irc_dcc_free (struct t_irc_dcc *ptr_dcc)
{
/* check if channel is used for another active DCC CHAT */
if (!ptr_dcc->channel->dcc_chat
- || (IRC_DCC_ENDED(((struct t_irc_dcc *)(ptr_dcc->channel->dcc_chat))->status)))
+ || (IRC_DCC_ENDED(ptr_dcc->channel->dcc_chat->status)))
{
gui_buffer_free (ptr_dcc->channel->buffer, 1);
if (ptr_dcc->channel)