Skip to content
Snippets Groups Projects
Commit 8ec55ab2 authored by echicken's avatar echicken
Browse files

Can't be the current 'sending' file if we ain't sending no file.

parent 748ebf98
No related branches found
No related tags found
No related merge requests found
......@@ -755,7 +755,7 @@ BinkP.prototype.session = function()
break cmd_switch;
}
// Is this the current "sending" file?
if (this.sending.sendas === args[0]) {
if (this.sending !== undefined && this.sending.sendas === args[0]) {
// Stop waiting for a M_GET
this.sending.waitingForGet = false;
// Now, simply adjust the position in the sending file
......
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