1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Kick war with ChanServ, for the
135175631861th time..
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Kick%20war%20with%20ChanServ%2C%0A%09for%20the%20135175631861th%20time..&In-Reply-To=b19eae4e0801051548ldcfe68ay943add08750e226%40mail.gmail.com">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"005604.html">
11 <LINK REL=
"Next" HREF=
"005606.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Kick war with ChanServ, for the
135175631861th time..
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Kick%20war%20with%20ChanServ%2C%0A%09for%20the%20135175631861th%20time..&In-Reply-To=b19eae4e0801051548ldcfe68ay943add08750e226%40mail.gmail.com"
17 TITLE=
"[IRCServices] Kick war with ChanServ, for the 135175631861th time..">achurch at achurch.org
19 <I>Sun Jan
6 08:
52:
34 PST
2008</I>
21 <LI>Previous message:
<A HREF=
"005604.html">[IRCServices] Kick war with ChanServ, for the
135175631861th time..
23 <LI>Next message:
<A HREF=
"005606.html">[IRCServices] Kick war with ChanServ, for the
135175631861th time..
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#5605">[ date ]
</a>
27 <a href=
"thread.html#5605">[ thread ]
</a>
28 <a href=
"subject.html#5605">[ subject ]
</a>
29 <a href=
"author.html#5605">[ author ]
</a>
34 <PRE>><i>I understand it must be frustrating to have an issue like this that's
35 </I>><i>so hard to track down, but it is equally frustrating to get bit in the
36 </I>><i>ass by it. Isn't it wise to assume that if they are joining an
37 </I>><i>existing channel that a ban matching them doesn't exist anyway
38 </I>><i>(otherwise how are they joining?)
40 +e, +I, explicit INVITE, possibly other methods. Originally, I didn't
41 bother checking for the ban, but apparently it caused a problem, because
42 I added the check in
4.5pre0:
44 2001/
01/
11 Fixed duplicate adding of bans when auto-kicking a user
45 from a channel. Reported by James
<<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">daemus at evilcode.com
</A>>
46 --- chanserv.c
11 Jan
2001 00:
03:
56 -
0000 1.10
47 +++ chanserv.c
11 Jan
2001 04:
29:
13 -
0000 1.11
52 - av[
1] =
"+b
";
54 - send_cmd(s_ChanServ,
"MODE %s +b %s %lu
", chan, mask, time(NULL));
55 - do_cmode(s_ChanServ,
3, av);
56 + /* Apparently invites can get around bans, so check for ban first */
57 + if (!chan_has_ban(mask)) {
58 + av[
1] =
"+b
";
60 + send_cmd(s_ChanServ,
"MODE %s +b %s %lu
", chan, mask, time(NULL));
61 + do_cmode(s_ChanServ,
3, av);
64 send_cmd(s_ChanServ,
"KICK %s %s :%s
", chan, user-
>nick, reason);
67 The list archives are down at the moment, so I can't check exactly what
68 the problem was, whether it was a serious issue or just cosmetic; I'm
69 hesitant to remove the check without knowing more. (Of course, you're
70 welcome to try removing it yourself and seeing what happens.)
73 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
74 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
82 <LI>Previous message:
<A HREF=
"005604.html">[IRCServices] Kick war with ChanServ, for the
135175631861th time..
84 <LI>Next message:
<A HREF=
"005606.html">[IRCServices] Kick war with ChanServ, for the
135175631861th time..
86 <LI> <B>Messages sorted by:
</B>
87 <a href=
"date.html#5605">[ date ]
</a>
88 <a href=
"thread.html#5605">[ thread ]
</a>
89 <a href=
"subject.html#5605">[ subject ]
</a>
90 <a href=
"author.html#5605">[ author ]
</a>