Page 1 of 1

Ban an user

Posted: Sun Nov 28, 2004 8:55 pm
by mosulica
How can my spamfilter to ban any user that is tryng to connect whit nick Guest or Guest54353 ....

Posted: Sun Nov 28, 2004 9:28 pm
by Stealth
Read the docs on how to set up a spamfilter with the user type.

The regex you want is:

Code: Select all

^Guest(\d+)?!
that will block anyone trying to use the nick with Guest or Guest followed by any amount of numbers.

Posted: Mon Nov 29, 2004 4:12 am
by aquanight
Stealth wrote:Read the docs on how to set up a spamfilter with the user type.

The regex you want is:

Code: Select all

^Guest(\d+)?!
that will block anyone trying to use the nick with Guest or Guest followed by any amount of numbers.
Better to use ^Guest\d*

\d* is essentially the same as (\d+)?