fix prebind reference error

This commit is contained in:
Sergey Fedoseev 2014-10-10 02:03:23 +06:00
parent e8d3b94420
commit 6e0c173f44

View File

@ -4580,7 +4580,7 @@
rid += 1;
this.session.save({rid: rid}); // The RID needs to be increased with each request.
this.connection.attach(jid, sid, rid, this.onConnect);
} else if (prebind) {
} else if (this.prebind) {
delete this.connection;
this.emit('noResumeableSession');
}