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

Fix bug in last commit.

parent 004c973b
No related branches found
No related tags found
No related merge requests found
......@@ -759,7 +759,7 @@ BinkP.prototype.recvFrame = function(timeout)
};
BinkP.prototype.addFile = function(path, sendas)
{
var file = new File(name);
var file = new File(path);
if (sendas === undefined)
sendas = file_getname(path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment