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

These are old archives. They are kept for historic purposes only.
Post Reply
martino
Posts: 2
Joined: Mon Nov 01, 2004 5:12 pm

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

Post 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!
-= aMaRe` =-
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

martino
Posts: 2
Joined: Mon Nov 01, 2004 5:12 pm

Post by martino »

thanks man. i'll have our tech check it out. :D
-= aMaRe` =-
pomme
Posts: 7
Joined: Sat Oct 09, 2004 6:30 am

Post 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.
Post Reply