1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] services operator bug (
4.5pre5)
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20services%20operator%20bug%20%284.5pre5%29&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=
"001393.html">
11 <LINK REL=
"Next" HREF=
"001399.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] services operator bug (
4.5pre5)
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20services%20operator%20bug%20%284.5pre5%29&In-Reply-To="
17 TITLE=
"[IRCServices] services operator bug (4.5pre5)">curtis at nucleus.com
19 <I>Sun Feb
4 19:
14:
20 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"001393.html">[IRCServices] services operator bug (
4.5pre5)
23 <LI>Next message:
<A HREF=
"001399.html">[IRCServices] Where to search for the problem ?
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#1394">[ date ]
</a>
27 <a href=
"thread.html#1394">[ thread ]
</a>
28 <a href=
"subject.html#1394">[ subject ]
</a>
29 <a href=
"author.html#1394">[ author ]
</a>
34 <PRE>Thanks Poison-X !!! THATS A some GREAT bugtraqing !!
36 ----- Original Message -----
37 From:
"Josh
" <<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">grenday288 at geocities.com
</A>>
38 To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net
</A>>
39 Sent: Sunday, February
11,
2001 12:
24 PM
40 Subject: [IRCServices] services operator bug (
4.5pre5)
43 ><i> services operators cant be added because there is no code in
44 </I>><i> privlist_add to add serivces_opers... it always adds them as
45 </I>><i> services_admins
49 </I>><i> --- ../ircservices-
4.5pre5/operserv.c Thu Feb
8 19:
06:
30 2001
50 </I>><i> +++ operserv.c Sun Feb
11 13:
16:
30 2001
51 </I>><i> @@ -
590,
7 +
590,
11 @@ static void privlist_add(User *u, int li
52 </I>><i> if (list[i] == ni) {
53 </I>><i> notice_lang(s_OperServ, u, msgs[MSG_EXISTS], ni-
>nick);
54 </I>><i> } else if (i
< max) {
55 </I>><i> - services_admins[i] = ni;
56 </I>><i> + if (!listid) {
57 </I>><i> + services_admins[i] = ni;
58 </I>><i> + } else {
59 </I>><i> + services_opers[i] = ni;
61 </I>><i> notice_lang(s_OperServ, u, msgs[MSG_ADDED], ni-
>nick);
62 </I>><i> if (readonly)
63 </I>><i> notice_lang(s_OperServ, u, READ_ONLY_MODE);
66 </I>><i> (might not be the greatest code.. but it works)
68 </I>><i> -----------------------------------------------------------
69 </I>><i> To unsubscribe, mail
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net
</A>
70 </I>><i> with the word UNSUBSCRIBE in the subject of the mail.
71 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices
</A>
82 <LI>Previous message:
<A HREF=
"001393.html">[IRCServices] services operator bug (
4.5pre5)
84 <LI>Next message:
<A HREF=
"001399.html">[IRCServices] Where to search for the problem ?
86 <LI> <B>Messages sorted by:
</B>
87 <a href=
"date.html#1394">[ date ]
</a>
88 <a href=
"thread.html#1394">[ thread ]
</a>
89 <a href=
"subject.html#1394">[ subject ]
</a>
90 <a href=
"author.html#1394">[ author ]
</a>