Forbid nick with accents

These are old archives. They are kept for historic purposes only.
Post Reply
hery
Posts: 3
Joined: Fri Feb 25, 2011 8:57 am

Forbid nick with accents

Post by hery »

Hello,

Is there a easier way to forbid nicks with accent? I mean all é è à ò etcc.
It is because our IRC clients (web-based or Java based) treat them differently (encoding problem).. so some local operators have difficulty to deal with them. So I want to forbid them.

In the config file I put something like

Code: Select all

ban {
     mask "*é*@*"
}
but I don't know if another easier methods exist.

Can you help? Thank you.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Forbid nick with accents

Post by Jobe »

The ban ip and ban user blocks will NOT match against nicks. To match against nicks you need the ban nick blcok (http://www.unrealircd.com/files/docs/un ... nnickblock)

Also see http://www.unrealircd.com/files/docs/un ... _nickchars because unless you enabled non-standard nick characters, accented characters aren't allowed in nick names anyway.
Your IP: Image
Your Country: Image
hery
Posts: 3
Joined: Fri Feb 25, 2011 8:57 am

Re: Forbid nick with accents

Post by hery »

Ah ok thank you

In fact in my config there was already a default

allowed-nickchars {
latin1;
};

So now I removed it and accents are forbidden

Thanks
Post Reply