]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/002597.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 002597.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] small akill bug
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20small%20akill%20bug&In-Reply-To=20011201140110.A25676%40sigma.mutualwomb">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="002592.html">
11 <LINK REL="Next" HREF="002593.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] small akill bug</H1>
15 <B>CJB</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20small%20akill%20bug&In-Reply-To=20011201140110.A25676%40sigma.mutualwomb"
17 TITLE="[IRCServices] small akill bug">cjb at mircx.com
18 </A><BR>
19 <I>Sat Dec 1 18:01:00 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="002592.html">[IRCServices] small akill bug
22 </A></li>
23 <LI>Next message: <A HREF="002593.html">[IRCServices] Wrong number of users
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#2597">[ date ]</a>
27 <a href="thread.html#2597">[ thread ]</a>
28 <a href="subject.html#2597">[ subject ]</a>
29 <a href="author.html#2597">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>I just wanted to follow up, it appears as though this fix (as implemented
35 in 4.5.34) has corrected the &quot;AKILL on * has expired&quot; bug I reported
36 earlier.
37
38 Chris
39
40 On Sat, 1 Dec 2001, Lloyd Williams wrote:
41
42 &gt;<i> cancel_akill() modifies the string that is passed to it, if
43 </I>&gt;<i> WallAkillExpire is enabled, the printed string contains only the
44 </I>&gt;<i> username part of the mask
45 </I>&gt;<i>
46 </I>&gt;<i> a simple fix:
47 </I>&gt;<i>
48 </I>&gt;<i> --- ircservices-4.5.33-orig/akill.c Fri Nov 23 11:10:35 2001
49 </I>&gt;<i> +++ ircservices-4.5.33-fixed/akill.c Sat Dec 1 13:54:29 2001
50 </I>&gt;<i> @@ -274,9 +274,10 @@
51 </I>&gt;<i>
52 </I>&gt;<i> /*************************************************************************/
53 </I>&gt;<i> -static void cancel_akill(char *mask)
54 </I>&gt;<i> +static void cancel_akill(char *mask_)
55 </I>&gt;<i> {
56 </I>&gt;<i> #if defined(IRC_UNREAL) || defined(IRC_DALNET)
57 </I>&gt;<i> + char *mask = strdup(mask_);
58 </I>&gt;<i> char *s = strchr(mask, '@');
59 </I>&gt;<i> if (s) {
60 </I>&gt;<i> *s++ = 0;
61 </I>&gt;<i> @@ -287,6 +288,7 @@
62 </I>&gt;<i> send_cmd(ServerName, &quot;RAKILL %s %s&quot;, s, mask);
63 </I>&gt;<i> # endif
64 </I>&gt;<i> }
65 </I>&gt;<i> + free(mask);
66 </I>&gt;<i> #endif
67 </I>&gt;<i> }
68 </I>&gt;<i>
69 </I>&gt;<i> -----------------------------------------------------------
70 </I>&gt;<i> To unsubscribe, mail <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net</A>
71 </I>&gt;<i> with the word UNSUBSCRIBE in the subject of the mail.
72 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A>
73 </I>&gt;<i>
74 </I>
75
76 </PRE>
77
78 <!--endarticle-->
79 <HR>
80 <P><UL>
81 <!--threads-->
82 <LI>Previous message: <A HREF="002592.html">[IRCServices] small akill bug
83 </A></li>
84 <LI>Next message: <A HREF="002593.html">[IRCServices] Wrong number of users
85 </A></li>
86 <LI> <B>Messages sorted by:</B>
87 <a href="date.html#2597">[ date ]</a>
88 <a href="thread.html#2597">[ thread ]</a>
89 <a href="subject.html#2597">[ subject ]</a>
90 <a href="author.html#2597">[ author ]</a>
91 </LI>
92 </UL>
93
94 </body></html>