How can i block a nick with spamfilter?
For example:
The bots that connects to my server are botnets as far as i know. And most of tham have nick like coming from every Country
Example: USA|457842, BRA|635986, FRA|421598 etc..
So, the thing is all of tham have 6 numbers at the end
I treid to gline tham this way:
spamfilter {
regex "^[a-z]\|\[0-9]{3,6}";
target { user; };
action gline;
ban-time 1d;
reason "Posible botnet!";
};
but the thing is it glines also other users like neo| or neo|23
What am i doing wrong?
I would like to gline only the nick that have 6 numbers at the end like USA|123456 or ABC|123456