1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> Debug patch (Re: [IRCServices Coding] SET RESTRICTED,
5 and possibly AKICK flaw)
7 <LINK REL=
"Index" HREF=
"index.html" >
8 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.esper.net?Subject=Debug%20patch%20%28Re%3A%20%5BIRCServices%20Coding%5D%20SET%20RESTRICTED%2C%0A%09and%20possibly%20AKICK%20flaw%29&In-Reply-To=4419C864.9090309%40gmail.com">
9 <META NAME=
"robots" CONTENT=
"index,nofollow">
10 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
11 <LINK REL=
"Previous" HREF=
"003240.html">
12 <LINK REL=
"Next" HREF=
"003241.html">
14 <BODY BGCOLOR=
"#ffffff">
15 <H1>Debug patch (Re: [IRCServices Coding] SET RESTRICTED,
16 and possibly AKICK flaw)
</H1>
18 <A HREF=
"mailto:ircservices-coding%40ircservices.esper.net?Subject=Debug%20patch%20%28Re%3A%20%5BIRCServices%20Coding%5D%20SET%20RESTRICTED%2C%0A%09and%20possibly%20AKICK%20flaw%29&In-Reply-To=4419C864.9090309%40gmail.com"
19 TITLE=
"Debug patch (Re: [IRCServices Coding] SET RESTRICTED,
20 and possibly AKICK flaw)">achurch at achurch.org
22 <I>Sun Mar
19 17:
47:
59 PST
2006</I>
24 <LI>Previous message:
<A HREF=
"003240.html">[IRCServices Coding] SET RESTRICTED, and possibly AKICK flaw
26 <LI>Next message:
<A HREF=
"003241.html">[IRCServices Coding] Re: GLOBOPS error on server and services
28 <LI> <B>Messages sorted by:
</B>
29 <a href=
"date.html#3236">[ date ]
</a>
30 <a href=
"thread.html#3236">[ thread ]
</a>
31 <a href=
"subject.html#3236">[ subject ]
</a>
32 <a href=
"author.html#3236">[ author ]
</a>
37 <PRE> With regard to the AKICK issue, if someone could apply the patch below
38 to modules/chanserv/check.c and post the debug log messages generated when
39 the problem occurs, I'd appreciate it.
42 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
43 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
45 ---------------------------------------------------------------------------
47 Index: modules/chanserv/check.c
48 ===================================================================
49 RCS file: /var/local/cvsroot/ircservices/modules/chanserv/check.c,v
50 retrieving revision
2.59.2.8
51 diff -u -r2.59
.2.8 check.c
52 --- modules/chanserv/check.c
8 Jan
2006 16:
48:
13 -
0000 2.59.2.8
53 +++ modules/chanserv/check.c
19 Mar
2006 08:
50:
18 -
0000
55 clear_channel(c, CLEAR_EXCEPTS, user);
56 /* Apparently invites can get around bans, so check for ban first */
57 if (!chan_has_ban(chan, mask)) {
58 + module_log(
"[DEBUG] check_kick: adding ban [%s] to channel [%s]
"
59 +
" for nick [%s]
", mask, chan, user-
>nick);
60 send_cmode_cmd(s_ChanServ, chan,
"+b %s
", mask);
65 do_cmode(s_ChanServ,
3, av);
68 + module_log(
"[DEBUG] check_kick: NOT adding ban [%s] to channel [%s]
"
69 +
" for user [%s]
", mask, chan, user-
>nick);
70 + module_log(
"[DEBUG] ban list:
");
73 + ARRAY_FOREACH (i, c-
>bans)
74 + module_log(
"[DEBUG] %s
", c-
>bans[i]);
76 + module_log(
"[DEBUG] exception list:
");
79 + ARRAY_FOREACH (i, c-
>excepts)
80 + module_log(
"[DEBUG] %s
", c-
>bans[i]);
84 send_channel_cmd(s_ChanServ,
"KICK %s %s :%s
", chan, user-
>nick, reason);
96 <LI>Previous message:
<A HREF=
"003240.html">[IRCServices Coding] SET RESTRICTED, and possibly AKICK flaw
98 <LI>Next message:
<A HREF=
"003241.html">[IRCServices Coding] Re: GLOBOPS error on server and services
100 <LI> <B>Messages sorted by:
</B>
101 <a href=
"date.html#3236">[ date ]
</a>
102 <a href=
"thread.html#3236">[ thread ]
</a>
103 <a href=
"subject.html#3236">[ subject ]
</a>
104 <a href=
"author.html#3236">[ author ]
</a>