]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/001523.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 001523.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Weird stuff with delnick()
5 </TITLE>
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">
12 </HEAD>
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
18 </A><BR>
19 <I>Thu Sep 26 10:59:32 PDT 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001512.html">[IRCServices Coding] Services 5.0pre14 released
22 </A></li>
23 <LI>Next message: <A HREF="001524.html">[IRCServices Coding] MySQL
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hi,
35
36 I used delnick() in one of my modules and I saw that it checks whether
37 ngi-&gt;nicks_count == 0, and if it's the case, removes the whole
38 nickgroupinfo.
39 Although, I called delnick() with the only nick in a group, but the
40 reference to the according ngi remained valid and ngi-&gt;mainnick was set to
41 65536 (0-1 in unsigned short).
42 Isn't there a ngi-&gt;nicks_count-- missing somewhere in
43 modules/nickserv/util.c:delnick() ?
44
45 Georges
46
47
48 </PRE>
49
50 <!--endarticle-->
51 <HR>
52 <P><UL>
53 <!--threads-->
54 <LI>Previous message: <A HREF="001512.html">[IRCServices Coding] Services 5.0pre14 released
55 </A></li>
56 <LI>Next message: <A HREF="001524.html">[IRCServices Coding] MySQL
57 </A></li>
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>
63 </LI>
64 </UL>
65
66 </body></html>