Page 1 of 1

Forbid nick with accents

Posted: Fri Feb 25, 2011 10:04 am
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.

Re: Forbid nick with accents

Posted: Sat Feb 26, 2011 8:22 am
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.

Re: Forbid nick with accents

Posted: Wed Mar 02, 2011 3:56 pm
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