USERLEN chats must <= 10?

These are old archives. They are kept for historic purposes only.

Moderators: Gottem, Supporters

Post Reply
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

USERLEN chats must <= 10?

Post by taobataoma »

the USERLEN is too short in my network, how can i redefine the length in my custom module?
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: USERLEN chats must <= 10?

Post by Syzop »

Such a change is not possible via module.

But in include/struct.h you can change this line:
#define USERLEN 10
Don't set it ridiculously high though (>30).

Then recompile: make && make install
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

Re: USERLEN chats must <= 10?

Post by taobataoma »

can i set it to 50?

thx
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: USERLEN chats must <= 10?

Post by Syzop »

Changing the USERLEN has many implications. Just to name one example which you probably don't realize: if your username is 40 characters longer it means the maximum size of your message to a person or channel becomes 40 characters shorter. This is due to the way that IRC works.

As said previously, I wouldn't set it higher than 30.
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

Re: USERLEN chats must <= 10?

Post by taobataoma »

ok,thx,i already set it at 30.
Post Reply