File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ server = doServer(tlsOptions,function(socket) {
298
298
case 'NICK' :
299
299
if ( this . hash && connections [ this . hash ] && command [ 1 ] ) {
300
300
connections [ this . hash ] . write ( "NICK " + command [ 1 ] + "\n" ) ;
301
- connections [ this . hash ] . nick = command [ 1 ] ;
301
+ // connections[this.hash].nick=command[1];
302
302
}
303
303
break ;
304
304
case 'JBNC' :
@@ -561,7 +561,7 @@ server = doServer(tlsOptions,function(socket) {
561
561
connections [ this . hash ] . connected = false ;
562
562
connections [ this . hash ] . write ( "AWAY :jbnc\n" ) ;
563
563
if ( BOUNCER_TIMEOUT != 0 && BOUNCER_TIMEOUT != null ) {
564
- connections [ this . hash ] . gone = setTimeout ( function ( x ) { connections [ x ] . end ( ) ; delete connections [ x ] ; } , BOUNCER_TIMEOUT * 1000 , this . hash ) ;
564
+ connections [ this . hash ] . gone = setTimeout ( function ( x ) { try { connections [ x ] . end ( ) ; } catch ( e ) { } try { delete connections [ x ] ; } catch ( e ) { } } , BOUNCER_TIMEOUT * 1000 , this . hash ) ;
565
565
}
566
566
}
567
567
}
You can’t perform that action at this time.
0 commit comments