Skip to content

Commit 1b832cf

Browse files
authored
Merge pull request #28 from Madriix/master
try to fix the crash
2 parents 827ffbb + c590062 commit 1b832cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bouncer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ server = doServer(tlsOptions,function(socket) {
479479
}
480480
break;
481481
default:
482+
if(typeof connections[this.hash] === 'undefined' )
483+
continue;
482484
// supress joins of channels we are already in because some clients dont react properly.
483485
if(input[i].toString().substr(0,4)=="JOIN") {
484486
command=input[i].toString().trim().split(" ");

0 commit comments

Comments
 (0)