1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Leetle bug in Services I think
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Leetle%20bug%20in%20Services%20I%20think&In-Reply-To=2.2.32.20010115184303.010ce280%40196.14.3.98">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"001086.html">
11 <LINK REL=
"Next" HREF=
"001088.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Leetle bug in Services I think
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Leetle%20bug%20in%20Services%20I%20think&In-Reply-To=2.2.32.20010115184303.010ce280%40196.14.3.98"
17 TITLE=
"[IRCServices] Leetle bug in Services I think">smkelly at zombie.org
19 <I>Mon Jan
15 10:
59:
23 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"001086.html">[IRCServices] Leetle bug in Services I think
23 <LI>Next message:
<A HREF=
"001088.html">[IRCServices] testing
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#1087">[ date ]
</a>
27 <a href=
"thread.html#1087">[ thread ]
</a>
28 <a href=
"subject.html#1087">[ subject ]
</a>
29 <a href=
"author.html#1087">[ author ]
</a>
34 <PRE>On Mon, Jan
15,
2001 at
08:
43:
03PM +
0200, Michael Smith wrote:
36 </I>><i> Err its a twofold problem
38 </I>><i> Dreamforge's svsnick doesnt check to see that the nick isnt already in use
39 </I>><i> AND , the code in services doesnt generate a different number per unique
40 </I>><i> instance use, so its probably based on some kind of time stamp
42 </I>><i> I have coded a fix for dreamforge, but I'm not sure how badly this will
43 </I>><i> break servicse
45 I'd be interrested to see the patch.
48 </I>><i> BTW, does anyone have that patch for multiple services root, I am keen for that
49 </I>><i> (and It should be a feature in
4.5)
51 Well, this isn't services-coding, but what the hell:
53 From:
"Kelmar K. Firesun
" <<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">kfiresun at ix.netcom.com
</A>>
54 To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">services at dragonfire.net
</A>>
55 Subject: Re: Services Root(s)
57 One way you can do this is to add a kludge to
58 the is_services_root() in the file operserv.c
61 /*************************************************************************/
63 /* Does the given user have Services root privileges? */
65 int is_services_root(User *u)
69 /* Make a temp copy to work with */
70 strcpy(s, ServicesRoot);
76 p = strpbrk(c,
" ");
81 while(isspace(*p)) p++;
86 if (stricmp(u-
>nick, c) ==
0)
95 /* End of modification */
97 This will allow you to sperate the root users
98 by a space in the config file like so:
100 ServicesRoot
"User1 User2 ... UserN
"
105 IRCop EsperNet (
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">kelmar at esper.net
</A>)
106 dream.esper.net port
5555
110 Sean Kelly | PGP KeyID:
77042C7B
111 <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">smkelly at zombie.org
</A> |
<A HREF=
"http://www.zombie.org">http://www.zombie.org
</A>
113 For PGP key, send e-mail with subject
"send pgp key
"
115 ---------------------------------------------------------------
116 To unsubscribe, send email to
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at snow.shadowfire.org
</A>
117 with
"unsubscribe ircservices
" in the body, without the quotes.
126 <LI>Previous message:
<A HREF=
"001086.html">[IRCServices] Leetle bug in Services I think
128 <LI>Next message:
<A HREF=
"001088.html">[IRCServices] testing
130 <LI> <B>Messages sorted by:
</B>
131 <a href=
"date.html#1087">[ date ]
</a>
132 <a href=
"thread.html#1087">[ thread ]
</a>
133 <a href=
"subject.html#1087">[ subject ]
</a>
134 <a href=
"author.html#1087">[ author ]
</a>