We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf7c15 commit 803b49dCopy full SHA for 803b49d
bouncer.js
@@ -555,7 +555,7 @@ server = doServer(tlsOptions,function(socket) {
555
connections[this.hash].connected=false;
556
connections[this.hash].write("AWAY :jbnc\n");
557
if(BOUNCER_TIMEOUT!=0 && BOUNCER_TIMEOUT!=null) {
558
- connections[this.hash].gone=setTimeout(function(x){connections[x].end();},BOUNCER_TIMEOUT*1000,this.hash);
+ connections[this.hash].gone=setTimeout(function(x){connections[x].end();delete connections[x];},BOUNCER_TIMEOUT*1000,this.hash);
559
}
560
561
0 commit comments