Skip to content

Commit a0dcb7b

Browse files
authored
Merge pull request #29 from Madriix/master
Error after the 22nd day : try to solve
2 parents 1b832cf + 30f5bc1 commit a0dcb7b

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
@@ -1139,7 +1139,7 @@ function clientConnect(socket) {
11391139
}
11401140
for(x=0;x<_names.length;x++) {
11411141
this.channels[_channel].names.push(_names[x].trim().split("!")[0]);
1142-
if(_names[x].trim().indexOf("!")>=0)
1142+
if(typeof this.channels[_channel].userhosts !== 'undefined' && _names[x].trim().indexOf("!")>=0)
11431143
this.channels[_channel].userhosts.push(_names[x].trim().split("!")[1]);
11441144
}
11451145
break;

0 commit comments

Comments
 (0)