mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
Fix dcc_request where addr is NULL
This commit is contained in:
parent
10cea61696
commit
528f51bfbe
1 changed files with 4 additions and 0 deletions
|
|
@ -428,6 +428,10 @@ static void ctcp_msg_dcc_send(IRC_SERVER_REC *server, const char *data,
|
||||||
int p_id = -1;
|
int p_id = -1;
|
||||||
int passive = FALSE;
|
int passive = FALSE;
|
||||||
|
|
||||||
|
if (addr == NULL) {
|
||||||
|
addr = "";
|
||||||
|
}
|
||||||
|
|
||||||
/* SEND <file name> <address> <port> <size> [...] */
|
/* SEND <file name> <address> <port> <size> [...] */
|
||||||
/* SEND <file name> <address> 0 <size> <id> (DCC SEND passive protocol) */
|
/* SEND <file name> <address> 0 <size> <id> (DCC SEND passive protocol) */
|
||||||
params = g_strsplit(data, " ", -1);
|
params = g_strsplit(data, " ", -1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue