Page 1 of 1

NICKLEN and TOPICLEN >> how do you increase the max?

Posted: Mon Nov 01, 2004 5:14 pm
by martino
we've set the TOPICLEN and NICKLEN to the desired values, but it still doesn't want to work. are there any other things that need to be done before we can get this to work? need help.. bad.. thanks!

Posted: Mon Nov 01, 2004 5:40 pm
by aquanight

Posted: Mon Nov 01, 2004 10:32 pm
by martino
thanks man. i'll have our tech check it out. :D

Posted: Tue Nov 02, 2004 12:32 am
by pomme
You probably don't ever want to set those values any higher than they already are (32 is probably the max). Setting them lower, for example, to make nicknames comply with RFC1459, you can edit struct.h and change "#define NICKLEN 30" to "#define NICKLEN 9".

There are a few things to consider before changing this value or anything else that you want to change in the header files or source code:

1) It can very well cause your IRC server to be unstable, and could affect other servers on your network if the values are different on each server.

2) You'll automatically lose Unreal3.2 support. As soon as you modify this or any other value in the headers and sources, you can no longer ask for help from the developers since you've done something that would 99% of the time be the cause of any problem you have.

3) A common quote: "If it ain't broken, don't fix it".

Edit: I meant to say that 32 is probably the max for NICKLEN.