]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/000169.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 000169.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] A subtle levels bug
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20A%20subtle%20levels%20bug&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="000190.html">
11 <LINK REL="Next" HREF="000170.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] A subtle levels bug</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20A%20subtle%20levels%20bug&In-Reply-To="
17 TITLE="[IRCServices Coding] A subtle levels bug">achurch at achurch.org
18 </A><BR>
19 <I>Sun Feb 3 01:51:13 PST 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000190.html">[IRCServices Coding] Nickname linking/coding question
22 </A></li>
23 <LI>Next message: <A HREF="000170.html">[IRCServices Coding] Error in Logon News Adding
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#169">[ date ]</a>
27 <a href="thread.html#169">[ thread ]</a>
28 <a href="subject.html#169">[ subject ]</a>
29 <a href="author.html#169">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>I'm running Bahamut with IRCServices 5, and I've spotted a chanserv
35 </I>&gt;<i>levels bug:
36 </I>&gt;<i>
37 </I>&gt;<i>Pertinent Channel level settings:
38 </I>&gt;<i>AUTOVOICE 0
39 </I>&gt;<i>AUTOHALFOP 4 (although it isn't used, because Bahamut doesn't support
40 </I>&gt;<i>hop)
41 </I>&gt;<i>
42 </I>&gt;<i>A user with access level 4 enters the channel. He is not autovoiced,
43 </I>&gt;<i>despite being above the AUTOVOICE leve, because he would be be hopped if
44 </I>&gt;<i>this wasn't bahamut, so he is left with no modes.
45 </I>&gt;<i>
46 </I>&gt;<i>The bahamut protocol module needs to recognise this situation and voice
47 </I>&gt;<i>him.
48 </I>
49 Protocol modules don't touch ChanServ, as they shouldn't. The CS
50 access code is supposed to take care of this automatically by deleting the
51 AUTOHALFOP and HALFOP levels (see access.c:init_access()) when the protocol
52 module signals that it doesn't have halfop capability, but it doesn't seem
53 to be working correctly. I'll look into it.
54
55 &gt;<i>I found this one by fidding about with my last bug, and is best summed
56 </I>&gt;<i>up by this transcript (my comments in [square brackets]):
57 </I>&gt;<i>
58 </I>&gt;<i>-&gt; ChanServ levels #chat list
59 </I>&gt;<i>&lt;ChanServ&gt; Access level settings for channel #chat:
60 </I>&gt;<i>&lt;ChanServ&gt; AUTOPROTECT 10
61 </I>&gt;<i>&lt;ChanServ&gt; AUTOOP 5
62 </I>&gt;<i>&lt;ChanServ&gt; AUTOHALFOP 4
63 </I>&gt;<i>&lt;ChanServ&gt; AUTOVOICE 0
64 </I>[..]
65 &gt;<i>-&gt; ChanServ levels #chat DIS AUTOHALFOP
66 </I>&gt;<i>&lt;ChanServ&gt; AUTOHALFOP disabled on channel #chat.
67 </I>&gt;<i>
68 </I>&gt;<i>-&gt; ChanServ levels #chat list
69 </I>&gt;<i>&lt;ChanServ&gt; Access level settings for channel #chat:
70 </I>&gt;<i>&lt;ChanServ&gt; AUTOPROTECT 10
71 </I>&gt;<i>&lt;ChanServ&gt; AUTOOP 5
72 </I>&gt;<i>&lt;ChanServ&gt; AUTOHALFOP (disabled) [AUTOHALFOP is disabled... all good so far]
73 </I>&gt;<i>&lt;ChanServ&gt; AUTOVOICE 3 [hello... AUTOVOICE is randomly reset...]
74 </I>&gt;<i>&lt;ChanServ&gt; AUTODEOP -1
75 </I>&gt;<i>&lt;ChanServ&gt; NOJOIN -2
76 </I>&gt;<i>&lt;ChanServ&gt; INVITE 5
77 </I>&gt;<i>&lt;ChanServ&gt; AKICK 10
78 </I>&gt;<i>&lt;ChanServ&gt; SET 10000 [SET and CLEAR - formerly disabled, are now level 10000!]
79 </I>&gt;<i>&lt;ChanServ&gt; CLEAR 10000
80 </I>
81 Fixed (logic bug in LEVELS DISABLE), thanks for the report.
82 Incidentally, the &quot;10000&quot; should read &quot;(founder only)&quot;, and that's already
83 fixed for the next release.
84
85 --Andrew Church
86 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
87 <A HREF="http://achurch.org/">http://achurch.org/</A>
88
89 </PRE>
90
91 <!--endarticle-->
92 <HR>
93 <P><UL>
94 <!--threads-->
95 <LI>Previous message: <A HREF="000190.html">[IRCServices Coding] Nickname linking/coding question
96 </A></li>
97 <LI>Next message: <A HREF="000170.html">[IRCServices Coding] Error in Logon News Adding
98 </A></li>
99 <LI> <B>Messages sorted by:</B>
100 <a href="date.html#169">[ date ]</a>
101 <a href="thread.html#169">[ thread ]</a>
102 <a href="subject.html#169">[ subject ]</a>
103 <a href="author.html#169">[ author ]</a>
104 </LI>
105 </UL>
106
107 </body></html>