]> jfr.im git - irc.git/blobdiff - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000922.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2000 / 000922.html
diff --git a/software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000922.html b/software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000922.html
new file mode 100644 (file)
index 0000000..116051d
--- /dev/null
@@ -0,0 +1,134 @@
+<!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&#225;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) ?
+
+
+
+&gt;<i> Wow, where to begin... lol
+</I>&gt;<i>
+</I>&gt;<i> Well, at one point I had to modify 'configure' to compile specifically for
+</I>&gt;<i> Elite (#define IRC_ELITE)  as there is an option in the ircd to prevent
+</I>&gt;<i> colors from being sent to the channel (like Bahamut) but is not supported
+</I>in
+&gt;<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 ?
+
+
+&gt;<i> I have also kept compatibilty with Andrew's code, in case he
+</I>&gt;<i> might ask to incorporate some of this into the next version of services...
+</I>&gt;<i> (hint, hint!) Actually, the one flag I added in NickServ flags is prolly
+</I>&gt;<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 :-)
+
+&gt;<i> I was planning on adding that mlock
+</I>&gt;<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.....
+
+&gt;<i> first add a CMODE_O to the services.h (0x00000800 perhaps?)
+</I>&gt;<i>
+</I>&gt;<i> then basically have this code in chanserv.c
+</I>&gt;<i>
+</I>&gt;<i> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE)
+</I>&gt;<i>                         (ci-&gt;mlock_off &amp; CMODE_O) ? &quot;O&quot; : &quot;&quot;,
+</I>&gt;<i> #else
+</I>&gt;<i>                         &quot;&quot;,
+</I>&gt;<i> #endif
+</I>&gt;<i>
+</I>&gt;<i> BTW, here's what I changed in chanserv.c for the color mode:
+</I>&gt;<i>
+</I>&gt;<i> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE)
+</I>&gt;<i> #ifdef IRC_BAHAMUT
+</I>&gt;<i>                         (ci-&gt;mlock_off &amp; CMODE_C) ? &quot;c&quot; : &quot;&quot;,
+</I>&gt;<i> #else
+</I>&gt;<i>                         (ci-&gt;mlock_off &amp; CMODE_C) ? &quot;x&quot; : &quot;&quot;,
+</I>&gt;<i> #endif
+</I>&gt;<i>
+</I>&gt;<i> #else
+</I>&gt;<i>                         &quot;&quot;,
+</I>&gt;<i> #endif
+</I>&gt;<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&#225;n.
+
+
+
+---------------------------------------------------------------
+To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at snow.shadowfire.org</A>
+with &quot;unsubscribe ircservices&quot; 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>