setting maximum nickname length?

These are old archives. They are kept for historic purposes only.
Post Reply
ZidaneT
Posts: 3
Joined: Fri May 23, 2008 3:27 pm

setting maximum nickname length?

Post by ZidaneT »

well, after jumping through hoops, taking ridiculous tests, having to sign up here, this epic and pointless quests ends with the one simple question....

how do i set the maximum length of nicknames?

i have read the included minimalist documentation, used google, and generally looked around, all to no avail. any help would be appreciated, i really cant see how hard this can be.

i am using unrealircd3.2.7, i have not modified source, it works and is running absolutely fine, i just want to enforce shorter nicknames than the default 30 characters
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: setting maximum nickname length?

Post by Jobe »

The maximum nick length is 30 chars, which is hard coded, changing this will lose you official support.
Your IP: Image
Your Country: Image
ZidaneT
Posts: 3
Joined: Fri May 23, 2008 3:27 pm

Re: setting maximum nickname length?

Post by ZidaneT »

aaah, wonderfull, so reducing maximum nickname length is impossible without modifying source code, recompiling and restarting the server, and the cost of which is losing all support.

this is where i stop speaking so i dont get banned.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: setting maximum nickname length?

Post by Jobe »

You might be able to use a ban nick block with a mask like "?????????*" which would ban any nick over 9 characters perhaps.

If not you can always do the same with a "u" type spamfilter, with the action block and with the regex: "^[^!]{10}" which would match anything with 10 or more characters in the nick.
Your IP: Image
Your Country: Image
ZidaneT
Posts: 3
Joined: Fri May 23, 2008 3:27 pm

Re: setting maximum nickname length?

Post by ZidaneT »

Jobe1986 wrote:You might be able to use a ban nick block with a mask like "?????????*" which would ban any nick over 9 characters perhaps.

If not you can always do the same with a "u" type spamfilter, with the action block and with the regex: "^[^!]{10}" which would match anything with 10 or more characters in the nick.

i figured out the ban nick block yesterday and implemented it, and it works fine (and even gives me the chance to add a message), and it works fine.

i should apologise if my posts appeared somewhat hostile, you were trying to help, i know, but i was very frustrated that such a simple thing apparently couldnt be done without jumping through so many hoops to ask what appeared to be a simple question.
Post Reply