1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] coding... (svcs
5)
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20coding...%20%28svcs%205%29&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=
"000017.html">
11 <LINK REL=
"Next" HREF=
"000024.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] coding... (svcs
5)
</H1>
15 <B>v13 at priest.com
</B>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20coding...%20%28svcs%205%29&In-Reply-To="
17 TITLE=
"[IRCServices Coding] coding... (svcs 5)">v13 at priest.com
19 <I>Fri Dec
14 12:
12:
44 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"000017.html">[IRCServices Coding] Version
5 (feature request)
23 <LI>Next message:
<A HREF=
"000024.html">Fw: [IRCServices Coding] Alpha compile error
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#23">[ date ]
</a>
27 <a href=
"thread.html#23">[ thread ]
</a>
28 <a href=
"subject.html#23">[ subject ]
</a>
29 <a href=
"author.html#23">[ author ]
</a>
36 I believe code like this (from operserv/main.c: do_killclones() )
38 if (match_usermask(clonemask, user) !=
0) {
41 snprintf(killreason, sizeof(killreason),
42 "Cloning [%d]
", count);
43 kill_user(NULL, user-
>nick, killreason);
46 should exist in seperate functions like:
48 int kill_mask(const char *mask, const char *reason)
53 for (user = first_user(); user; user = next_user())
55 if (match_usermask(mask, user) !=
0)
60 snprintf(killreason, sizeof(killreason),
61 (reason == NULL ?
"Cloning [%d]
" : reason),
63 kill_user(NULL, user-
>nick, killreason);
70 3rd party modules should not use their own code for things like this, since
81 <LI>Previous message:
<A HREF=
"000017.html">[IRCServices Coding] Version
5 (feature request)
83 <LI>Next message:
<A HREF=
"000024.html">Fw: [IRCServices Coding] Alpha compile error
85 <LI> <B>Messages sorted by:
</B>
86 <a href=
"date.html#23">[ date ]
</a>
87 <a href=
"thread.html#23">[ thread ]
</a>
88 <a href=
"subject.html#23">[ subject ]
</a>
89 <a href=
"author.html#23">[ author ]
</a>