jbnc
jbnc copied to clipboard
Every now and then he doesn't put any /Away
problem line 593 : https://github.com/toc-irc/jbnc/blob/master/bouncer.js#L593
I've noticed a problem for a week or two. From time to time he does not go /away.
Currently I don't see how to fix this.
Here are the symptoms:
- Maybe it does not detect the socket.on ('close'
- Maybe it does not detect the if with .parents.length or the if with .parents.length == 0
- I manage to reproduce this bug but only by reconnecting at least once to JBNC (with clientReconnect () but maybe this is a coincidence) and also this bug is rare, you really have to stay connected for a long time or reconnect or I don't really know how to reproduce this bug very quickly
[10:14:48] Too Many aways - Flood Protection activated
it may be solved. It was at the IRC server level.
in my my unrealircd file:
/* Protections anti-flood */
anti-flood {
nick-flood 3:60; /* 3 changements de nick par 60 secondes */
connect-flood 3:20; /* 3 tentatives de connexions par 60 seconds */
away-flood 4:120; /* 4 utilisation de /AWAY par 2 minutes */
};
I just put this: away-flood 10:120; /* 10 utilisation de /AWAY par 2 minutes */