Page 1 of 1
setting maximum nickname length?
Posted: Fri May 23, 2008 3:37 pm
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
Re: setting maximum nickname length?
Posted: Fri May 23, 2008 4:11 pm
by Jobe
The maximum nick length is 30 chars, which is hard coded, changing this will lose you official support.
Re: setting maximum nickname length?
Posted: Fri May 23, 2008 4:47 pm
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.
Re: setting maximum nickname length?
Posted: Fri May 23, 2008 5:45 pm
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.
Re: setting maximum nickname length?
Posted: Sat May 24, 2008 10:45 am
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.