Merge pull request #247 from sir-sigurd/fix-prebind-reference-error
fix prebind reference error
This commit is contained in:
commit
ab8ec3c43c
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user