diff --git a/exec/load/binkp.js b/exec/load/binkp.js index 071ba25ef452c90612b6223c29b7749b0ddd0138..e7cd7c2a64f74818076377592b279a46ed28f569 100644 --- a/exec/load/binkp.js +++ b/exec/load/binkp.js @@ -463,7 +463,7 @@ BinkP.prototype.session = function() i--; } } - if (file_getname(this.sending.sendas) === args[0]) { + if (this.sending.sendas === args[0]) { this.sending.file.close(); this.failed_sent_files.push(this.sending.file.name); this.sending = undefined;