]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
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=Pine.LNX.3.96.990930153329.23012P-100000%40vector.chocobo.org"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="000160.html"> | |
11 | <LINK REL="Next" HREF="000162.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] preventing global akicks</H1> | |
15 | <B>Gregory L King</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20preventing%20global%20akicks&In-Reply-To=Pine.LNX.3.96.990930153329.23012P-100000%40vector.chocobo.org" | |
17 | TITLE="[IRCServices] preventing global akicks">gregk at netsport.org | |
18 | </A><BR> | |
19 | <I>Thu Sep 30 21:59:53 PDT 1999</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="000160.html">[IRCServices] Modules | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="000162.html">[IRCServices] preventing global akicks | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#161">[ date ]</a> | |
27 | <a href="thread.html#161">[ thread ]</a> | |
28 | <a href="subject.html#161">[ subject ]</a> | |
29 | <a href="author.html#161">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>Im having some trouble with malicious operators adding global akicks on | |
35 | the channel list. I want to prevent this, but other than adding a test | |
36 | for every possible combination of global mask, is there an easier way? | |
37 | ||
38 | I modified the chanserv.c code a little as follows... | |
39 | ||
40 | if (!stricmp(mask, "*!*@*") || !stricmp(mask, "*@*") || | |
41 | !stricmp(mask,"*@**") || !stricmp(mask,"*@*.*")) { | |
42 | send_msg(s_ChanServ, u->nick, "Your akick mask is to | |
43 | broad."); | |
44 | log("%s: %s tried to akick add %s on %s!", s_ChanServ, | |
45 | u->nick, | |
46 | mask, chan); | |
47 | wallops(s_ChanServ, "%s tried to akick add %s on %s!", | |
48 | u->nick, | |
49 | mask, chan); | |
50 | return; | |
51 | } | |
52 | ||
53 | but, is there a better way to prevent a global ban (I know, tell the | |
54 | founders to select better operators, but in the mean time?!) | |
55 | ||
56 | ||
57 | ||
58 | ||
59 | --------------------------------------------------------------- | |
60 | To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A> | |
61 | with "unsubscribe ircservices" in the body, without the quotes. | |
62 | ||
63 | </PRE> | |
64 | ||
65 | <!--endarticle--> | |
66 | <HR> | |
67 | <P><UL> | |
68 | <!--threads--> | |
69 | <LI>Previous message: <A HREF="000160.html">[IRCServices] Modules | |
70 | </A></li> | |
71 | <LI>Next message: <A HREF="000162.html">[IRCServices] preventing global akicks | |
72 | </A></li> | |
73 | <LI> <B>Messages sorted by:</B> | |
74 | <a href="date.html#161">[ date ]</a> | |
75 | <a href="thread.html#161">[ thread ]</a> | |
76 | <a href="subject.html#161">[ subject ]</a> | |
77 | <a href="author.html#161">[ author ]</a> | |
78 | </LI> | |
79 | </UL> | |
80 | ||
81 | </body></html> |