Skip to content

Commit 87e5dd9

Browse files
authored
Merge pull request #73 from Madriix/master
Update ERROR bouncer.js
2 parents 19e914c + 00c98b1 commit 87e5dd9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bouncer.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,12 @@ function clientConnect(socket) {
14251425
this.write("PONG "+data[1].substr(1).trim()+"\n");
14261426
continue;
14271427
}
1428+
if (data[0] == "ERROR") {
1429+
if(this.gone) {
1430+
clearTimeout(this.gone);
1431+
this.gone='';
1432+
}
1433+
}
14281434
if(lines[n].length>1) {
14291435
for(m=0;m<this.parents.length;m++) {
14301436
this.parents[m].write(lines[n]+"\n");

0 commit comments

Comments
 (0)