Merge pull request #247 from sir-sigurd/fix-prebind-reference-error

fix prebind reference error
This commit is contained in:
JC Brand 2014-10-10 10:49:50 +02:00
commit ab8ec3c43c

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');
}