mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 17:50:19 +00:00
Implemented clear functionality for DCC download manager. Created clear button in DCC downloaded manager interface.
This commit is contained in:
@@ -227,6 +227,15 @@ is_dcc (struct DCC *dcc)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
is_dcc_fcompleted (struct DCC *dcc)
|
||||
{
|
||||
if (dcc != NULL)
|
||||
return (dcc->dccstat == STAT_FAILED || dcc->dccstat == STAT_DONE || dcc->dccstat == STAT_ABORTED);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* this is called from hexchat.c:hexchat_misc_checks() every 1 second. */
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user