1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Re: Nick colision
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Re%3A%20Nick%20colision&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=
"000231.html">
11 <LINK REL=
"Next" HREF=
"000233.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Re: Nick colision
</H1>
15 <B>Carlos Mendes Martini
</B>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Re%3A%20Nick%20colision&In-Reply-To="
17 TITLE=
"[IRCServices] Re: Nick colision">martini at intergate.com.br
19 <I>Thu Oct
21 18:
36:
38 PDT
1999</I>
21 <LI>Previous message:
<A HREF=
"000231.html">[IRCServices] lNick colision
23 <LI>Next message:
<A HREF=
"000233.html">[IRCServices] Re: Nick colision
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#232">[ date ]
</a>
27 <a href=
"thread.html#232">[ thread ]
</a>
28 <a href=
"subject.html#232">[ subject ]
</a>
29 <a href=
"author.html#232">[ author ]
</a>
34 <PRE>root of all evil wrote:
36 </I>><i> i use this on my services:
37 </I>><i> this code i got from servicesbr, writen by wyrn
38 </I>><i> but it works very well
39 </I>><i> i have used it on a network whith
200 users whitout problems
43 Hummm... I had some troubles when doing this... so, I preferred to
44 modify the original code, as the following:
48 /****************************************************************/
50 if (NSForceNickChange) {
52 char guestnick[NICKMAX];
54 gettimeofday(
&tv, NULL);
55 snprintf(guestnick, sizeof(guestnick),
"%s%ld%ld
", NSGuestNickPrefix,
56 tv.tv_usec /
10000, tv.tv_sec % (
60*
60*
24));
58 notice_lang(s_NickServ, u, FORCENICKCHANGE_NOW, guestnick);
59 /****************************************************************/
64 /****************************************************************/
66 if (NSForceNickChange) {
67 char guestnick[NICKMAX];
71 sprintf(guestnick,
"%s%d%d
", NSGuestNickPrefix, nseed, beh);
72 if (nseed
>=
9999) nseed=
0;
75 notice_lang(s_NickServ, u, FORCENICKCHANGE_NOW, guestnick);
76 /****************************************************************/
79 And place the line above at the top of the file, with the others
80 "static int
":
86 I apologize for my bad english.
92 =====================================================================
93 MARTINI -
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">martini at brasirc.net
</A>
94 -------------------------------------------------------------
95 Coordenador de Atendimento ao Usu
ário
96 BrasIRC Webmaster -
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">webmaster at brasirc.net
</A>
97 BrasIRC.NET Network -
<A HREF=
"http://www.brasirc.net">http://www.brasirc.net
</A>
98 =====================================================================
101 ---------------------------------------------------------------
102 To unsubscribe, send email to
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org
</A>
103 with
"unsubscribe ircservices
" in the body, without the quotes.
111 <LI>Previous message:
<A HREF=
"000231.html">[IRCServices] lNick colision
113 <LI>Next message:
<A HREF=
"000233.html">[IRCServices] Re: Nick colision
115 <LI> <B>Messages sorted by:
</B>
116 <a href=
"date.html#232">[ date ]
</a>
117 <a href=
"thread.html#232">[ thread ]
</a>
118 <a href=
"subject.html#232">[ subject ]
</a>
119 <a href=
"author.html#232">[ author ]
</a>