1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] Weird stuff with delnick()
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Weird%20stuff%20with%20delnick%28%29&In-Reply-To=3d913f86.33324%40achurch.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=
"001512.html">
11 <LINK REL=
"Next" HREF=
"001524.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] Weird stuff with delnick()
</H1>
15 <B>Georges Berscheid
</B>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Weird%20stuff%20with%20delnick%28%29&In-Reply-To=3d913f86.33324%40achurch.org"
17 TITLE=
"[IRCServices Coding] Weird stuff with delnick()">georges at berscheid.lu
19 <I>Thu Sep
26 10:
59:
32 PDT
2002</I>
21 <LI>Previous message:
<A HREF=
"001512.html">[IRCServices Coding] Services
5.0pre14 released
23 <LI>Next message:
<A HREF=
"001524.html">[IRCServices Coding] MySQL
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#1523">[ date ]
</a>
27 <a href=
"thread.html#1523">[ thread ]
</a>
28 <a href=
"subject.html#1523">[ subject ]
</a>
29 <a href=
"author.html#1523">[ author ]
</a>
36 I used delnick() in one of my modules and I saw that it checks whether
37 ngi-
>nicks_count ==
0, and if it's the case, removes the whole
39 Although, I called delnick() with the only nick in a group, but the
40 reference to the according ngi remained valid and ngi-
>mainnick was set to
41 65536 (
0-
1 in unsigned short).
42 Isn't there a ngi-
>nicks_count-- missing somewhere in
43 modules/nickserv/util.c:delnick() ?
54 <LI>Previous message:
<A HREF=
"001512.html">[IRCServices Coding] Services
5.0pre14 released
56 <LI>Next message:
<A HREF=
"001524.html">[IRCServices Coding] MySQL
58 <LI> <B>Messages sorted by:
</B>
59 <a href=
"date.html#1523">[ date ]
</a>
60 <a href=
"thread.html#1523">[ thread ]
</a>
61 <a href=
"subject.html#1523">[ subject ]
</a>
62 <a href=
"author.html#1523">[ author ]
</a>