mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix dcc resume crash (only in the rc's and svn) (Bug 287)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3895 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
240a7df160
commit
6d42a00287
@ -89,6 +89,9 @@ static int dcc_ctcp_resume_parse(int type, const char *data, const char *nick,
|
||||
params = g_strsplit(data, " ", -1);
|
||||
paramcount = strarray_length(params);
|
||||
|
||||
if (paramcount < 3)
|
||||
return 0;
|
||||
|
||||
fileparams = get_file_params_count_resume(params, paramcount);
|
||||
|
||||
if (paramcount >= fileparams + 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user