Page 1 of 1

USERLEN chats must <= 10?

Posted: Fri Jan 08, 2016 2:24 am
by taobataoma
the USERLEN is too short in my network, how can i redefine the length in my custom module?

Re: USERLEN chats must <= 10?

Posted: Sun Jan 10, 2016 7:32 pm
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

Re: USERLEN chats must <= 10?

Posted: Mon Jan 11, 2016 8:19 am
by taobataoma
can i set it to 50?

thx

Re: USERLEN chats must <= 10?

Posted: Wed Jan 13, 2016 1:01 pm
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.

Re: USERLEN chats must <= 10?

Posted: Thu Jan 14, 2016 7:36 am
by taobataoma
ok,thx,i already set it at 30.