]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] umode or services option | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20umode%20or%20services%20option&In-Reply-To="> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="000920.html"> | |
11 | <LINK REL="Next" HREF="000930.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] umode or services option</H1> | |
15 | <B>Ciarán Reilly</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20umode%20or%20services%20option&In-Reply-To=" | |
17 | TITLE="[IRCServices] umode or services option">Ciaran.Reilly at ntlworld.com | |
18 | </A><BR> | |
19 | <I>Thu Oct 19 09:10:25 PDT 2000</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="000920.html">[IRCServices] umode or services option | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="000930.html">[IRCServices] umode or services option | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#922">[ date ]</a> | |
27 | <a href="thread.html#922">[ thread ]</a> | |
28 | <a href="subject.html#922">[ subject ]</a> | |
29 | <a href="author.html#922">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>Hiya David, thanks a lot for your help | |
35 | ||
36 | I understand it (slightly) lol..... think I need to do quite a bit more | |
37 | brushing up on my C before I attempt it myself..... have you any suggestions | |
38 | of places I can pickup on the Services code etc (makes mental note to get | |
39 | subbed to the coding list) ? | |
40 | ||
41 | ||
42 | ||
43 | ><i> Wow, where to begin... lol | |
44 | </I>><i> | |
45 | </I>><i> Well, at one point I had to modify 'configure' to compile specifically for | |
46 | </I>><i> Elite (#define IRC_ELITE) as there is an option in the ircd to prevent | |
47 | </I>><i> colors from being sent to the channel (like Bahamut) but is not supported | |
48 | </I>in | |
49 | ><i> Dal_4_4_15. | |
50 | </I> | |
51 | I must admit, I just used the modes in the Ircd independantly of Servcies, | |
52 | which was pretty sloppy, I never realised they could be edited to this | |
53 | extent...... Then again, there was never much call for Services to support | |
54 | the mode as my users didn't use it much... | |
55 | ||
56 | Let me see if I've got this right..... So when you installed Services, you | |
57 | first modified the Config.h to include the line #define IRC_Elite ? Then | |
58 | you compiled, having already added your other code for the U modes to | |
59 | Services.h and chanserv.h etc ? | |
60 | ||
61 | ||
62 | ><i> I have also kept compatibilty with Andrew's code, in case he | |
63 | </I>><i> might ask to incorporate some of this into the next version of services... | |
64 | </I>><i> (hint, hint!) Actually, the one flag I added in NickServ flags is prolly | |
65 | </I>><i> going to have to change (NI_FORCEID 0x00001000) | |
66 | </I> | |
67 | Forceid....... call me stupid, but is this used to force a user to identify | |
68 | to NickServ, or is ID something else ? what did you add it for ? | |
69 | sorry for all these questions, I'm just trying to gather as much knowledge | |
70 | as poss on whats going on :-) | |
71 | ||
72 | ><i> I was planning on adding that mlock | |
73 | </I>><i> to Chanserv for +O channels, but haven't done it yet... it's easy | |
74 | </I>enough... | |
75 | ||
76 | Right, think I can get my head round this bit..... | |
77 | ||
78 | ><i> first add a CMODE_O to the services.h (0x00000800 perhaps?) | |
79 | </I>><i> | |
80 | </I>><i> then basically have this code in chanserv.c | |
81 | </I>><i> | |
82 | </I>><i> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE) | |
83 | </I>><i> (ci->mlock_off & CMODE_O) ? "O" : "", | |
84 | </I>><i> #else | |
85 | </I>><i> "", | |
86 | </I>><i> #endif | |
87 | </I>><i> | |
88 | </I>><i> BTW, here's what I changed in chanserv.c for the color mode: | |
89 | </I>><i> | |
90 | </I>><i> #if defined(IRC_BAHAMUT) || defined(IRC_ELITE) | |
91 | </I>><i> #ifdef IRC_BAHAMUT | |
92 | </I>><i> (ci->mlock_off & CMODE_C) ? "c" : "", | |
93 | </I>><i> #else | |
94 | </I>><i> (ci->mlock_off & CMODE_C) ? "x" : "", | |
95 | </I>><i> #endif | |
96 | </I>><i> | |
97 | </I>><i> #else | |
98 | </I>><i> "", | |
99 | </I>><i> #endif | |
100 | </I>><i> | |
101 | </I> | |
102 | Hmmmm am starting to get it...... thanks for your time David...... and sorry | |
103 | to everyone for this going to the main list, I'll make sure it goes to | |
104 | coding in future :-) | |
105 | ||
106 | ||
107 | Ciarán. | |
108 | ||
109 | ||
110 | ||
111 | --------------------------------------------------------------- | |
112 | To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at snow.shadowfire.org</A> | |
113 | with "unsubscribe ircservices" in the body, without the quotes. | |
114 | ||
115 | ||
116 | </PRE> | |
117 | ||
118 | <!--endarticle--> | |
119 | <HR> | |
120 | <P><UL> | |
121 | <!--threads--> | |
122 | <LI>Previous message: <A HREF="000920.html">[IRCServices] umode or services option | |
123 | </A></li> | |
124 | <LI>Next message: <A HREF="000930.html">[IRCServices] umode or services option | |
125 | </A></li> | |
126 | <LI> <B>Messages sorted by:</B> | |
127 | <a href="date.html#922">[ date ]</a> | |
128 | <a href="thread.html#922">[ thread ]</a> | |
129 | <a href="subject.html#922">[ subject ]</a> | |
130 | <a href="author.html#922">[ author ]</a> | |
131 | </LI> | |
132 | </UL> | |
133 | ||
134 | </body></html> |