--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [IRCServices] umode or services option
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20umode%20or%20services%20option&In-Reply-To=">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000920.html">
+ <LINK REL="Next" HREF="000930.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[IRCServices] umode or services option</H1>
+ <B>Ciarán Reilly</B>
+ <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20umode%20or%20services%20option&In-Reply-To="
+ TITLE="[IRCServices] umode or services option">Ciaran.Reilly at ntlworld.com
+ </A><BR>
+ <I>Thu Oct 19 09:10:25 PDT 2000</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000920.html">[IRCServices] umode or services option
+</A></li>
+ <LI>Next message: <A HREF="000930.html">[IRCServices] umode or services option
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#922">[ date ]</a>
+ <a href="thread.html#922">[ thread ]</a>
+ <a href="subject.html#922">[ subject ]</a>
+ <a href="author.html#922">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hiya David, thanks a lot for your help
+
+I understand it (slightly) lol..... think I need to do quite a bit more
+brushing up on my C before I attempt it myself..... have you any suggestions
+of places I can pickup on the Services code etc (makes mental note to get
+subbed to the coding list) ?
+
+
+
+><i> Wow, where to begin... lol
+</I>><i>
+</I>><i> Well, at one point I had to modify 'configure' to compile specifically for
+</I>><i> Elite (#define IRC_ELITE) as there is an option in the ircd to prevent
+</I>><i> colors from being sent to the channel (like Bahamut) but is not supported
+</I>in
+><i> Dal_4_4_15.
+</I>
+I must admit, I just used the modes in the Ircd independantly of Servcies,
+which was pretty sloppy, I never realised they could be edited to this
+extent...... Then again, there was never much call for Services to support
+the mode as my users didn't use it much...
+
+Let me see if I've got this right..... So when you installed Services, you
+first modified the Config.h to include the line #define IRC_Elite ? Then
+you compiled, having already added your other code for the U modes to
+Services.h and chanserv.h etc ?
+
+
+><i> I have also kept compatibilty with Andrew's code, in case he
+</I>><i> might ask to incorporate some of this into the next version of services...
+</I>><i> (hint, hint!) Actually, the one flag I added in NickServ flags is prolly
+</I>><i> going to have to change (NI_FORCEID 0x00001000)
+</I>
+Forceid....... call me stupid, but is this used to force a user to identify
+to NickServ, or is ID something else ? what did you add it for ?
+sorry for all these questions, I'm just trying to gather as much knowledge
+as poss on whats going on :-)
+
+><i> I was planning on adding that mlock
+</I>><i> to Chanserv for +O channels, but haven't done it yet... it's easy
+</I>enough...
+
+Right, think I can get my head round this bit.....
+
+><i> first add a CMODE_O to the services.h (0x00000800 perhaps?)
+</I>><i>
+</I>><i> then basically have this code in chanserv.c
+</I>><i>
+</I>><i> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE)
+</I>><i> (ci->mlock_off & CMODE_O) ? "O" : "",
+</I>><i> #else
+</I>><i> "",
+</I>><i> #endif
+</I>><i>
+</I>><i> BTW, here's what I changed in chanserv.c for the color mode:
+</I>><i>
+</I>><i> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE)
+</I>><i> #ifdef IRC_BAHAMUT
+</I>><i> (ci->mlock_off & CMODE_C) ? "c" : "",
+</I>><i> #else
+</I>><i> (ci->mlock_off & CMODE_C) ? "x" : "",
+</I>><i> #endif
+</I>><i>
+</I>><i> #else
+</I>><i> "",
+</I>><i> #endif
+</I>><i>
+</I>
+Hmmmm am starting to get it...... thanks for your time David...... and sorry
+to everyone for this going to the main list, I'll make sure it goes to
+coding in future :-)
+
+
+Ciarán.
+
+
+
+---------------------------------------------------------------
+To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at snow.shadowfire.org</A>
+with "unsubscribe ircservices" in the body, without the quotes.
+
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000920.html">[IRCServices] umode or services option
+</A></li>
+ <LI>Next message: <A HREF="000930.html">[IRCServices] umode or services option
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#922">[ date ]</a>
+ <a href="thread.html#922">[ thread ]</a>
+ <a href="subject.html#922">[ subject ]</a>
+ <a href="author.html#922">[ author ]</a>
+ </LI>
+ </UL>
+
+</body></html>