mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
Use net-sendbuffer with DCC chat.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@522 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7f3f53bffe
commit
271ebb5be7
3 changed files with 7 additions and 3 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "signals.h"
|
||||
#include "commands.h"
|
||||
#include "network.h"
|
||||
#include "net-sendbuffer.h"
|
||||
#include "line-split.h"
|
||||
#include "settings.h"
|
||||
|
||||
|
|
@ -113,6 +114,7 @@ void dcc_destroy(DCC_REC *dcc)
|
|||
if (dcc->tagconn != -1) g_source_remove(dcc->tagconn);
|
||||
if (dcc->tagread != -1) g_source_remove(dcc->tagread);
|
||||
if (dcc->tagwrite != -1) g_source_remove(dcc->tagwrite);
|
||||
if (dcc->sendbuf != NULL) net_sendbuffer_destroy(dcc->sendbuf, FALSE);
|
||||
|
||||
if (dcc->type == DCC_TYPE_CHAT)
|
||||
line_split_free((LINEBUF_REC *) dcc->databuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue