[IRCServices] umode or services option

&quot &quot
Thu Oct 19 09:01:50 PDT 2000


ircservices-coding list please :)

Thanks guys.

Andrew

----- Original Message -----
From: "David Blanchard" <dblanch at home.com>
To: <ircservices at snow.shadowfire.org>
Sent: Thursday, October 19, 2000 5:32 PM
Subject: Re: [IRCServices] umode or services option


> Wow, where to begin... lol
>
> Well, at one point I had to modify 'configure' to compile specifically for
> Elite (#define IRC_ELITE)  as there is an option in the ircd to prevent
> colors from being sent to the channel (like Bahamut) but is not supported
in
> Dal_4_4_15.  I have also kept compatibilty with Andrew's code, in case he
> might ask to incorporate some of this into the next version of services...
> (hint, hint!) Actually, the one flag I added in NickServ flags is prolly
> going to have to change (NI_FORCEID 0x00001000) as I don't know if Andrew
> has plans to use a flag there or not in future versions... hmmm maybe I
need
> to get with him on this as a request :)  I was planning on adding that
mlock
> to Chanserv for +O channels, but haven't done it yet... it's easy
enough...
>
> first add a CMODE_O to the services.h (0x00000800 perhaps?)
>
> then basically have this code in chanserv.c
>
> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE)
>                         (ci->mlock_off & CMODE_O) ? "O" : "",
> #else
>                         "",
> #endif
>
> BTW, here's what I changed in chanserv.c for the color mode:
>
> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE)
> #ifdef IRC_BAHAMUT
>                         (ci->mlock_off & CMODE_C) ? "c" : "",
> #else
>                         (ci->mlock_off & CMODE_C) ? "x" : "",
> #endif
>
> #else
>                         "",
> #endif
>
> There are a few places this needs to be modified, but you get the idea...
>
>
> David
>
> ----- Original Message -----
> From: "Ciarán Reilly" <Ciaran.Reilly at ntlworld.com>
> To: <ircservices at snow.shadowfire.org>
> Sent: Thursday, October 19, 2000 7:48 AM
> Subject: Re: [IRCServices] umode or services option
>
>
> > Yeah, I used that umode myself when I was running Elite, it can be quite
> > handy.... are you using it ? If so, may I ask what tweaks you've made to
> > optimize it more for Services ?
> >
> > Ciarán.
> >
>
>
>
> ---------------------------------------------------------------
> To unsubscribe, send email to majordomo at snow.shadowfire.org
> with "unsubscribe ircservices" in the body, without the quotes.
>


---------------------------------------------------------------
To unsubscribe, send email to majordomo at snow.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.