This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Extending the maximum name-length of chan egg can join?

Old posts that have not been replied to for several years.
Locked
l
lyubo

Extending the maximum name-length of chan egg can join?

Post by lyubo »

Hi,
V: eggdrop.1.15
Command: .+chan
Params: #veryvery...verylongchan ( length - about 130 bytes(chars) )
result, the egg picks up the first 80 bytes as chan name.

How can I extend that length of chans?
( #define what, where ? )
Thanks!
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Unfortunately it's not a simple #define. The chanset struct has the name hard coded as 81 bytes. You could try just increasing that to 200 or so... any code that uses sizeof() will work. After that, grep through the code for 80 and 81 and change the applicable ones.
Locked