]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001395.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001395.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] services operator bug (4.5pre5)
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] services operator bug (4.5pre5)</H1>
15 <B>Andrew Church</B>
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
18 </A><BR>
19 <I>Mon Feb 12 12:42:02 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001407.html">[IRCServices] secure?
22 </A></li>
23 <LI>Next message: <A HREF="001396.html">[IRCServices] Services 4.5pre6 released
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>services operators cant be added because there is no code in
35 </I>&gt;<i>privlist_add to add serivces_opers... it always adds them as
36 </I>&gt;<i>services_admins
37 </I>
38 Fixed, thanks for the report. (The right fix is to use
39 &quot;list&quot; instead of &quot;services_admins&quot;.)
40
41 &gt;<i>
42 </I>&gt;<i>
43 </I>&gt;<i>--- ../ircservices-4.5pre5/operserv.c Thu Feb 8 19:06:30 2001
44 </I>&gt;<i>+++ operserv.c Sun Feb 11 13:16:30 2001
45 </I>&gt;<i>@@ -590,7 +590,11 @@ static void privlist_add(User *u, int li
46 </I>&gt;<i> if (list[i] == ni) {
47 </I>&gt;<i> notice_lang(s_OperServ, u, msgs[MSG_EXISTS], ni-&gt;nick);
48 </I>&gt;<i> } else if (i &lt; max) {
49 </I>&gt;<i>- services_admins[i] = ni;
50 </I>&gt;<i>+ if (!listid) {
51 </I>&gt;<i>+ services_admins[i] = ni;
52 </I>&gt;<i>+ } else {
53 </I>&gt;<i>+ services_opers[i] = ni;
54 </I>&gt;<i>+ }
55 </I>&gt;<i> notice_lang(s_OperServ, u, msgs[MSG_ADDED], ni-&gt;nick);
56 </I>&gt;<i> if (readonly)
57 </I>&gt;<i> notice_lang(s_OperServ, u, READ_ONLY_MODE);
58 </I>&gt;<i>
59 </I>&gt;<i>
60 </I>&gt;<i>(might not be the greatest code.. but it works)
61 </I>&gt;<i>
62 </I>&gt;<i>-----------------------------------------------------------
63 </I>&gt;<i>To unsubscribe, mail <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net</A>
64 </I>&gt;<i>with the word UNSUBSCRIBE in the subject of the mail.
65 </I>&gt;<i><A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A>
66 </I>
67 --Andrew Church
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!&lt;%k%&quot;%I%l%9$,JQ$o$j$^$7$?!#\e(B
70
71
72 </PRE>
73
74 <!--endarticle-->
75 <HR>
76 <P><UL>
77 <!--threads-->
78 <LI>Previous message: <A HREF="001407.html">[IRCServices] secure?
79 </A></li>
80 <LI>Next message: <A HREF="001396.html">[IRCServices] Services 4.5pre6 released
81 </A></li>
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>
87 </LI>
88 </UL>
89
90 </body></html>