Skip to content

Commit 803b49d

Browse files
authored
Update bouncer.js
1 parent 6cf7c15 commit 803b49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bouncer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ server = doServer(tlsOptions,function(socket) {
555555
connections[this.hash].connected=false;
556556
connections[this.hash].write("AWAY :jbnc\n");
557557
if(BOUNCER_TIMEOUT!=0 && BOUNCER_TIMEOUT!=null) {
558-
connections[this.hash].gone=setTimeout(function(x){connections[x].end();},BOUNCER_TIMEOUT*1000,this.hash);
558+
connections[this.hash].gone=setTimeout(function(x){connections[x].end();delete connections[x];},BOUNCER_TIMEOUT*1000,this.hash);
559559
}
560560
}
561561
}

0 commit comments

Comments
 (0)