Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104120

Summary: Eggdrop handle length needs to be raised to 15 in the sources
Product: Gentoo Linux Reporter: Flo <flo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Flo 2005-08-29 04:53:37 UTC
On many irc networks, the eggdrop version included in portage 1.6.17-r2 doesnt
work right (on Quakenet for example), because the handle length is hardcoded in
the eggdrop.h of the eggdrop sources. It would be nice if someone could create a
patch raising that limit up to 15 characters. Before using the eggdrop from
portage i compiled one my own, and since i go for the portage one, it cuts down
all the handles down to 9, which is very annoying.

You will find the line which needs the change on line 63 of eggdrop.h.
#define HANDLEN 9
has to be changed to
#define HANDLEN 15

It is not a risk to define the handle by editing the sources, you can set a
limit in the config file later.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-29 05:03:23 UTC
No.

RFC1459 - Internet Relay Chat Protocol:

1.2 Clients

   A client is anything connecting to a server that is not another
   server.  Each client is distinguished from other clients by a unique
   nickname having a maximum length of nine (9) characters.  See the
   protocol grammar rules for what may and may not be used in a
   nickname.  In addition to the nickname, all servers must have the
   following information about all clients: the real name of the host
   that the client is running on, the username of the client on that
   host, and the server to which the client is connected.

Also see Bug 86579.
Comment 2 Flo 2005-08-29 05:21:44 UTC
ah ok, too bad, so we have to continue compiling it ourselves. every irc network
should stick to the nickname length rule :(
well maybe i will write a ebuild including a patch for that situation, so users
who need it can add it to their portage overlay.