Ban an user

These are old archives. They are kept for historic purposes only.
Post Reply
mosulica

Ban an user

Post by mosulica »

How can my spamfilter to ban any user that is tryng to connect whit nick Guest or Guest54353 ....
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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+)?
Post Reply