1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Linked nicks and Operserv
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Linked%20nicks%20and%20Operserv&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=
"001940.html">
11 <LINK REL=
"Next" HREF=
"001943.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Linked nicks and Operserv
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Linked%20nicks%20and%20Operserv&In-Reply-To="
17 TITLE=
"[IRCServices] Linked nicks and Operserv">frostycoolslug at hotmail.com
19 <I>Tue May
29 17:
42:
00 PDT
2001</I>
21 <LI>Previous message:
<A HREF=
"001940.html">[IRCServices] Linked nicks and Operserv
23 <LI>Next message:
<A HREF=
"001943.html">[IRCServices] Linked nicks and Operserv
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#1941">[ date ]
</a>
27 <a href=
"thread.html#1941">[ thread ]
</a>
28 <a href=
"subject.html#1941">[ subject ]
</a>
29 <a href=
"author.html#1941">[ author ]
</a>
34 <PRE>ok.. i didnt understand a word of that :P
35 can Andrew just make sure that is in the next version please :)
38 ><i>From: Yusuf Iskenderoglu
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">uhc0 at rz.uni-karlsruhe.de
</A>>
39 </I>><i>Reply-To:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net
</A>
40 </I>><i>To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net
</A>>
41 </I>><i>Subject: Re: [IRCServices] Linked nicks and Operserv
42 </I>><i>Date: Tue,
29 May
2001 17:
34:
33 +
0200 (CES)
45 </I>><i>Here is the place in the code, checking who is
46 </I>><i>services admin.
48 </I>><i>/* Does the given user have Services admin privileges? */
50 </I>><i>int is_services_admin(User *u)
54 </I>><i> if (!is_oper_u(u))
56 </I>><i> if (is_services_root(u))
58 </I>><i> if (skeleton)
60 </I>><i> for (i =
0; i
< MAX_SERVADMINS; i++) {
61 </I>><i> if (services_admins[i]
&& u-
>ni == getlink(services_admins[i])) {
62 </I>><i> if (nick_identified(u))
71 </I>><i>I am absolutely sure that I did not modify this section.
73 </I>><i>The correct code could be:
74 </I>><i>if (services_admins[i]
&& services_admins[i] == getlink(u-
>ni)) {
76 </I>><i>And this is working, because the nick change changes the value
77 </I>><i>of u-
>ni to getlink(u-
>real_ni)
79 </I>><i>In my case, u-
>ni points to TimeMr14C, because getlink(Enygma)
80 </I>><i>return TimeMr14C.
82 </I>><i>That means, because TimeMr14C as a Services Admin exists,
83 </I>><i>AND TimeMr14C (value of u-
>ni) equals to TimeMr14C (value of
84 </I>><i>getlink(TimeMr14C))
85 </I>><i>AND I have identified to NickServ, I get recognised as a
86 </I>><i>services admin.
92 </I>><i>Yusuf Iskenderoglu *** eMail
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">uhc0 at rz.uni-karlsruhe.de
</A>
95 </I>><i>-----------------------------------------------------------
96 </I>><i>To unsubscribe, mail
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-request at ircservices.za.net
</A>
97 </I>><i>with the word UNSUBSCRIBE in the subject of the mail.
98 </I>><i><A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices
</A>
100 _________________________________________________________________________
101 Get Your Private, Free E-mail from MSN Hotmail at
<A HREF=
"http://www.hotmail.com.">http://www.hotmail.com.
</A>
110 <LI>Previous message:
<A HREF=
"001940.html">[IRCServices] Linked nicks and Operserv
112 <LI>Next message:
<A HREF=
"001943.html">[IRCServices] Linked nicks and Operserv
114 <LI> <B>Messages sorted by:
</B>
115 <a href=
"date.html#1941">[ date ]
</a>
116 <a href=
"thread.html#1941">[ thread ]
</a>
117 <a href=
"subject.html#1941">[ subject ]
</a>
118 <a href=
"author.html#1941">[ author ]
</a>