Skip to content
Snippets Groups Projects
Commit 6e16f77a authored by deuce's avatar deuce
Browse files

We don't need to use file_getname() with the sendas property.

parent 113a474c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment