]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/1999/000171.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 1999 / 000171.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] preventing global akicks
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20preventing%20global%20akicks&In-Reply-To=19991001053721600.AAA240%40stream.qx.net%40%5B208.200.111.17%5D">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000164.html">
11 <LINK REL="Next" HREF="000163.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] preventing global akicks</H1>
15 <B>Jonathan George</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20preventing%20global%20akicks&In-Reply-To=19991001053721600.AAA240%40stream.qx.net%40%5B208.200.111.17%5D"
17 TITLE="[IRCServices] preventing global akicks">net at lite.net
18 </A><BR>
19 <I>Sat Oct 2 16:19:25 PDT 1999</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000164.html">[IRCServices] preventing global akicks
22 </A></li>
23 <LI>Next message: <A HREF="000163.html">[IRCServices] AKILL *@* Lame IRCops Protection.
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#171">[ date ]</a>
27 <a href="thread.html#171">[ thread ]</a>
28 <a href="subject.html#171">[ subject ]</a>
29 <a href="author.html#171">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>You could always do something like:
35
36 (the functions should be fairly clear, although I'll bet the names aren't
37 right :)
38
39 if (match_wild(mask, &quot;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">asdf at jkl</A>;&quot;)) {
40 /* really broad mask, eh? */
41 return;
42 }
43
44 |&gt;<i> if (!stricmp(mask, &quot;*!*@*&quot;) || !stricmp(mask, &quot;*@*&quot;) ||
45 </I>|&gt;<i> !stricmp(mask,&quot;*@**&quot;) || !stricmp(mask,&quot;*@*.*&quot;)) {
46 </I>|&gt;<i> send_msg(s_ChanServ, u-&gt;nick, &quot;Your akick mask is to
47 </I>|&gt;<i> broad.&quot;);
48 </I>|&gt;<i> log(&quot;%s: %s tried to akick add %s on %s!&quot;, s_ChanServ,
49 </I>|&gt;<i> u-&gt;nick,
50 </I>|&gt;<i> mask, chan);
51 </I>|&gt;<i> wallops(s_ChanServ, &quot;%s tried to akick add %s on %s!&quot;,
52 </I>|&gt;<i> u-&gt;nick,
53 </I>|&gt;<i> mask, chan);
54 </I>|&gt;<i> return;
55 </I>|&gt;<i> }
56 </I>
57 ------------------------------------------
58 Jonathan George (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">net at lite.net</A>)
59 Terra World, Inc. (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">support at terraworld.net</A>)
60 Programmer (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">outlaw at terraworld.net</A>)
61 Technician (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">root at lite.net</A>)
62
63 &quot;Never execute code written on a Friday or
64 a Monday.&quot;
65
66 ---------------------------------------------------------------
67 To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
68 with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
69
70 </PRE>
71
72 <!--endarticle-->
73 <HR>
74 <P><UL>
75 <!--threads-->
76 <LI>Previous message: <A HREF="000164.html">[IRCServices] preventing global akicks
77 </A></li>
78 <LI>Next message: <A HREF="000163.html">[IRCServices] AKILL *@* Lame IRCops Protection.
79 </A></li>
80 <LI> <B>Messages sorted by:</B>
81 <a href="date.html#171">[ date ]</a>
82 <a href="thread.html#171">[ thread ]</a>
83 <a href="subject.html#171">[ subject ]</a>
84 <a href="author.html#171">[ author ]</a>
85 </LI>
86 </UL>
87
88 </body></html>