Ban an user

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

Ban an user

Post by mosulica » Sun Nov 28, 2004 8:55 pm

How can my spamfilter to ban any user that is tryng to connect whit nick Guest or Guest54353 ....

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Sun Nov 28, 2004 9:28 pm

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 » Mon Nov 29, 2004 4:12 am

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