ircd-hybrid-current and TS5 compatibility

Lee H lee at leeh.co.uk
Tue Jan 4 09:49:24 EST 2005


On Tue, Dec 28, 2004 at 10:36:16PM -0800, Jack L. wrote:
> That's correct, ID(source_p) will know whether it should use an id or a name for TS5 or TS6
> 
> ----- Original Message -----
> From: "Rachel Llorenna" <rachies at gmail.com>
> To: "Mailing List: ircd-hybrid" <hybrid at lists.ircd-hybrid.org>
> Subject: ircd-hybrid-current and TS5 compatibility
> Date: Wed, 29 Dec 2004 00:33:03 -0500
> 
> >    sendto_one(source_p, form_str(RPL_LINKS),
> >               MyConnect(source_p) ? me.name : me.id,

Note the line directly above.  That does assume TS6 is always supported, as
it always uses the server id for the first parameter.


To fix this, the best method is removing the ":%s <NUM> %s " part from all
the numerics, and having a special numeric send function which will generate
them to be safe for TS5.

-- 
-                       Lee H // anfl
-     Out Of Cheese Error.  Replace lesbian jam to continue.



More information about the hybrid mailing list