1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Bug in NickServ listlinks
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20Bug%20in%20NickServ%20listlinks&In-Reply-To=42484222.3070707%40frostycoolslug.com">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"004916.html">
11 <LINK REL=
"Next" HREF=
"004920.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Bug in NickServ listlinks
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20Bug%20in%20NickServ%20listlinks&In-Reply-To=42484222.3070707%40frostycoolslug.com"
17 TITLE=
"[IRCServices] Bug in NickServ listlinks">Craig at frostycoolslug.com
19 <I>Mon Mar
28 10:
09:
30 PST
2005</I>
21 <LI>Previous message:
<A HREF=
"004916.html">[IRCServices] Bug in NickServ listlinks
23 <LI>Next message:
<A HREF=
"004920.html">[IRCServices] Bug in NickServ listlinks
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#4917">[ date ]
</a>
27 <a href=
"thread.html#4917">[ thread ]
</a>
28 <a href=
"subject.html#4917">[ subject ]
</a>
29 <a href=
"author.html#4917">[ author ]
</a>
34 <PRE>My mistake, the code went in the wrong place..
38 -- Code Snippit (Line
208) --
39 if (!(ni = u-
>ni) || !(ngi = u-
>ngi) || ngi ==
40 NICKGROUPINFO_INVALID) {
41 notice_lang(s_NickServ, u, NICK_NOT_REGISTERED);
49 if (!(ni = u-
>ni) || !(ngi = u-
>ngi) || ngi ==
50 NICKGROUPINFO_INVALID) {
51 notice_lang(s_NickServ, u, NICK_NOT_REGISTERED);
53 } else if (!user_identified(u)) {
54 notice_lang(s_NickServ, u, NICK_IDENTIFY_REQUIRED, s_NickServ);
58 -- End Code Snippit --
60 and remove the text on line
197
62 My appoligies for the mixup.
65 With this new fix in place, if a user attempts to /ns listlinks they get:
67 (
19:
04:
37)
›› [ NickServ (
<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">services at chatspike.net
</A>) ] Password
68 authentication required for that command.
69 (
19:
04:
37)
›› [ NickServ (
<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">services at chatspike.net
</A>) ] Retry after typing
70 /msg NickServ IDENTIFY password.
72 (I have an annoying habit of not testing code before submitting it :/)
77 /****************************************
78 * Craig
"FrostyCoolSlug
" McLure
79 *
<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">Craig at FrostyCoolSlug.com
</A>
80 * InspIRCd -
<A HREF=
"http://www.inspircd.org">http://www.inspircd.org
</A>
81 * ChatSpike -
<A HREF=
"http://www.chatspike.net">http://www.chatspike.net
</A>
82 ****************************************/
85 ><i> Well spotted, If your looking for an immediate fix, find
86 </I>><i> ircservices-
5.0.xx/modules/nickserv/link.c
88 </I>><i> and add the following at line
197
90 </I>><i> --- CODE SNIPPIT ---
91 </I>><i> } else if (!user_identified(u)) {
92 </I>><i> notice_lang(s_NickServ, u, NICK_IDENTIFY_REQUIRED, s_NickServ);
95 </I>><i> --- END CODE SNIPPIT ---
97 </I>><i> (You should be able to paste all that, including the line break into
98 </I>><i> like
197, and everything will fall into alignment)
100 </I>><i> I'm sure andy will include this fix in the next release of services :)
101 </I>><i> /****************************************
102 </I>><i> * Craig
"FrostyCoolSlug
" McLure
103 </I>><i> *
<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">Craig at FrostyCoolSlug.com
</A>
104 </I>><i> * InspIRCd -
<A HREF=
"http://www.inspircd.org">http://www.inspircd.org
</A>
105 </I>><i> * ChatSpike -
<A HREF=
"http://www.chatspike.net">http://www.chatspike.net
</A>
106 </I>><i> ****************************************/
108 </I>><i> Katarn wrote:
112 </I>>><i> It was brought to my attention by a user the other day, that NickServ's
113 </I>>><i> listlinks feature works for any nickname, without identifying for the
114 </I>>><i> nick. By default, only services operators or above are supposed to be
116 </I>>><i> to do this I believe.
117 </I>>><i> Basically, any person can come on with any nick that they want to see all
118 </I>>><i> the linked nicks for, and use
"/msg nickserv listlinks
" to see all the
119 </I>>><i> nicknames linked to that nick, if they have not identified at all.
120 </I>>><i> -Katarn
123 </I>>><i> ------------------------------------------------------------------
124 </I>>><i> To unsubscribe or change your subscription options, visit:
125 </I>>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices
</A>
129 </I>><i> ------------------------------------------------------------------
130 </I>><i> To unsubscribe or change your subscription options, visit:
131 </I>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices
</A>
149 <LI>Previous message:
<A HREF=
"004916.html">[IRCServices] Bug in NickServ listlinks
151 <LI>Next message:
<A HREF=
"004920.html">[IRCServices] Bug in NickServ listlinks
153 <LI> <B>Messages sorted by:
</B>
154 <a href=
"date.html#4917">[ date ]
</a>
155 <a href=
"thread.html#4917">[ thread ]
</a>
156 <a href=
"subject.html#4917">[ subject ]
</a>
157 <a href=
"author.html#4917">[ author ]
</a>