]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2004/003045.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2004 / 003045.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] operserv - reverse wildcard lookup?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20operserv%20-%20reverse%20wildcard%20lookup%3F&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="003040.html">
11 <LINK REL="Next" HREF="003051.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] operserv - reverse wildcard lookup?</H1>
15 <B>chime at mail.utexas.edu</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20operserv%20-%20reverse%20wildcard%20lookup%3F&In-Reply-To="
17 TITLE="[IRCServices Coding] operserv - reverse wildcard lookup?">chime at mail.utexas.edu
18 </A><BR>
19 <I>Thu Jul 15 10:23:53 PDT 2004</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="003040.html">[IRCServices Coding] Restricted + Secure --&gt; No Kick List.
22 </A></li>
23 <LI>Next message: <A HREF="003051.html">[IRCServices Coding] operserv - reverse wildcard lookup?
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#3045">[ date ]</a>
27 <a href="thread.html#3045">[ thread ]</a>
28 <a href="subject.html#3045">[ subject ]</a>
29 <a href="author.html#3045">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hi, lowly oper on one of Espernet's servers, here; might make a server of my own
35 after moving to Japan soon for JET, depending on available connection and
36 computer parts. New to this list. Anyway, enough for introductions, on to why I
37 joined:
38
39 Can operserv be made to (optionally, at each command) perform 'akill view' and
40 'akill list' commands using the wildcard evaluation in reverse?
41
42 What I mean is: I type in &quot;/msg operserv akill list-r <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">malak at 218.22.22.40</A>&quot; and
43 operserv tells me &quot;sup. you've got an akill phrased like '*@218.22.*', and
44 that's what's killing him.&quot;
45
46 This would alleviate the issue of, upon seeing a user presenting his address and
47 asking why he's akilled, an oper having to /guess/ what part of the address is
48 in the set akill. In other words, this:...
49
50 [11:53:44] -&gt; *operserv* akill list *218.22.22.40*
51 [11:53:45] -OperServ- Current AKILL list:
52 [11:53:47] -&gt; *operserv* akill list *218.22.22.*
53 [11:53:48] -OperServ- Current AKILL list:
54 [11:53:51] -&gt; *operserv* akill list *218.22*
55 [11:53:52] -OperServ- Current AKILL list:
56
57 ...wouldn't need to happen.
58
59
60
61 I don't know how the innards of the coding are set up, but it strikes me as
62 likely that there's probably a single function somewhere that takes in two
63 strings and returns a bool based on whether the first string matches the
64 wildcard structure of the second string. If I'm right about that, then the
65 whole code for 'akill list' could be duplicated, with the only change (aside
66 from the name) being reversing the order in which the two strings go into that
67 function when it's called. (Unless I'm missing something--it admittedly has
68 been a couple years since I coded.)
69
70 I apologize if this idea has been brought up before--I skimmed through the list
71 of changes to 5.0 on the website and didn't see anything that looked like what
72 I am thinking.
73
74 Thanks for your time,
75 Rob Hamilton
76 'Chimerasame'
77 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">chime at mail.utexas.edu</A> / <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">chime at esper.net</A>
78
79
80 </PRE>
81
82 <!--endarticle-->
83 <HR>
84 <P><UL>
85 <!--threads-->
86 <LI>Previous message: <A HREF="003040.html">[IRCServices Coding] Restricted + Secure --&gt; No Kick List.
87 </A></li>
88 <LI>Next message: <A HREF="003051.html">[IRCServices Coding] operserv - reverse wildcard lookup?
89 </A></li>
90 <LI> <B>Messages sorted by:</B>
91 <a href="date.html#3045">[ date ]</a>
92 <a href="thread.html#3045">[ thread ]</a>
93 <a href="subject.html#3045">[ subject ]</a>
94 <a href="author.html#3045">[ author ]</a>
95 </LI>
96 </UL>
97
98 </body></html>