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=
"001407.html">
11 <LINK REL=
"Next" HREF=
"001396.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)">achurch at achurch.org
19 <I>Mon Feb
12 12:
42:
02 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"001407.html">[IRCServices] secure?
23 <LI>Next message:
<A HREF=
"001396.html">[IRCServices] Services
4.5pre6 released
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#1395">[ date ]
</a>
27 <a href=
"thread.html#1395">[ thread ]
</a>
28 <a href=
"subject.html#1395">[ subject ]
</a>
29 <a href=
"author.html#1395">[ author ]
</a>
34 <PRE>><i>services operators cant be added because there is no code in
35 </I>><i>privlist_add to add serivces_opers... it always adds them as
36 </I>><i>services_admins
38 Fixed, thanks for the report. (The right fix is to use
39 "list
" instead of
"services_admins
".)
43 </I>><i>--- ../ircservices-
4.5pre5/operserv.c Thu Feb
8 19:
06:
30 2001
44 </I>><i>+++ operserv.c Sun Feb
11 13:
16:
30 2001
45 </I>><i>@@ -
590,
7 +
590,
11 @@ static void privlist_add(User *u, int li
46 </I>><i> if (list[i] == ni) {
47 </I>><i> notice_lang(s_OperServ, u, msgs[MSG_EXISTS], ni-
>nick);
48 </I>><i> } else if (i
< max) {
49 </I>><i>- services_admins[i] = ni;
50 </I>><i>+ if (!listid) {
51 </I>><i>+ services_admins[i] = ni;
53 </I>><i>+ services_opers[i] = ni;
55 </I>><i> notice_lang(s_OperServ, u, msgs[MSG_ADDED], ni-
>nick);
56 </I>><i> if (readonly)
57 </I>><i> notice_lang(s_OperServ, u, READ_ONLY_MODE);
60 </I>><i>(might not be the greatest code.. but it works)
62 </I>><i>-----------------------------------------------------------
63 </I>><i>To unsubscribe, mail
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net
</A>
64 </I>><i>with the word UNSUBSCRIBE in the subject of the mail.
65 </I>><i><A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices
</A>
68 <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A> | New address - please note.
69 <A HREF=
"http://achurch.org/">http://achurch.org/
</A> |
\e$B%a!
<%k%
"%I%l%
9$,JQ$o$j$^$
7$?!#
\e(B
78 <LI>Previous message:
<A HREF=
"001407.html">[IRCServices] secure?
80 <LI>Next message:
<A HREF=
"001396.html">[IRCServices] Services
4.5pre6 released
82 <LI> <B>Messages sorted by:
</B>
83 <a href=
"date.html#1395">[ date ]
</a>
84 <a href=
"thread.html#1395">[ thread ]
</a>
85 <a href=
"subject.html#1395">[ subject ]
</a>
86 <a href=
"author.html#1395">[ author ]
</a>