File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -133,10 +133,6 @@ server = doServer(tlsOptions,function(socket) {
133
133
for ( i = 0 ; i < input . length ; i ++ ) {
134
134
if ( DEBUG )
135
135
console . log ( "<" + input [ i ] ) ;
136
-
137
- if ( typeof connections [ this . hash ] === 'undefined' )
138
- continue ;
139
-
140
136
let commands = input [ i ] . split ( " " ) ;
141
137
let command = commands [ 0 ] . toUpperCase ( ) ;
142
138
if ( ! this . connected && ! this . badauth ) {
@@ -483,6 +479,8 @@ server = doServer(tlsOptions,function(socket) {
483
479
}
484
480
break ;
485
481
default :
482
+ if ( typeof connections [ this . hash ] === 'undefined' )
483
+ continue ;
486
484
// supress joins of channels we are already in because some clients dont react properly.
487
485
if ( input [ i ] . toString ( ) . substr ( 0 , 4 ) == "JOIN" ) {
488
486
command = input [ i ] . toString ( ) . trim ( ) . split ( " " ) ;
You can’t perform that action at this time.
0 commit comments