]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2001/000040.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2001 / 000040.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] svcs5
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20svcs5&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="000038.html">
11 <LINK REL="Next" HREF="000043.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] svcs5</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20svcs5&In-Reply-To="
17 TITLE="[IRCServices Coding] svcs5">achurch at achurch.org
18 </A><BR>
19 <I>Mon Dec 17 16:47:05 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000038.html">[IRCServices Coding] Services 5
22 </A></li>
23 <LI>Next message: <A HREF="000043.html">[IRCServices Coding] Services 5 having problems to shut down
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#40">[ date ]</a>
27 <a href="thread.html#40">[ thread ]</a>
28 <a href="subject.html#40">[ subject ]</a>
29 <a href="author.html#40">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>in messages.c:
35 </I>&gt;<i>
36 </I>&gt;<i>static void m_time(char *source, int ac, char **av)
37 </I>&gt;<i>{
38 </I>&gt;<i> time_t t;
39 </I>&gt;<i> struct tm *tm;
40 </I>&gt;<i> char buf[64];
41 </I>&gt;<i>
42 </I>&gt;<i> time(&amp;t);
43 </I>&gt;<i> tm = localtime(&amp;t);
44 </I>&gt;<i> strftime(buf, sizeof(buf), &quot;%a %b %d %H:%M:%S %Y %Z&quot;, tm);
45 </I>&gt;<i> send_cmd(NULL, &quot;391 :%s&quot;, buf);
46 </I>&gt;<i>}
47 </I>&gt;<i>
48 </I>&gt;<i>This should be:
49 </I>&gt;<i>
50 </I>&gt;<i>send_cmd(NULL, &quot;391 %s %s :%s&quot;, source, ServerName, buf);
51 </I>&gt;<i>
52 </I>&gt;<i>or something like that...
53 </I>
54 I could have sworn I fixed this at least once before... oh well.
55 Fixed (in the 4.5 branch as well), thanks.
56
57 &gt;<i>&lt;&lt;V13&gt;&gt;
58 </I>&gt;<i>------------------------------------------------------------------
59 </I>&gt;<i>To unsubscribe or change your subscription options, visit:
60 </I>&gt;<i><A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
61 </I>
62 --Andrew Church
63 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
64 <A HREF="http://achurch.org/">http://achurch.org/</A>
65
66 </PRE>
67
68 <!--endarticle-->
69 <HR>
70 <P><UL>
71 <!--threads-->
72 <LI>Previous message: <A HREF="000038.html">[IRCServices Coding] Services 5
73 </A></li>
74 <LI>Next message: <A HREF="000043.html">[IRCServices Coding] Services 5 having problems to shut down
75 </A></li>
76 <LI> <B>Messages sorted by:</B>
77 <a href="date.html#40">[ date ]</a>
78 <a href="thread.html#40">[ thread ]</a>
79 <a href="subject.html#40">[ subject ]</a>
80 <a href="author.html#40">[ author ]</a>
81 </LI>
82 </UL>
83
84 </body></html>