[IRCServices Coding] svcs5

Andrew Church achurch at achurch.org
Mon Dec 17 16:47:05 PST 2001


>in messages.c:
>
>static void m_time(char *source, int ac, char **av)
>{
>    time_t t;
>    struct tm *tm;
>    char buf[64];
>
>    time(&t);
>    tm = localtime(&t);
>    strftime(buf, sizeof(buf), "%a %b %d %H:%M:%S %Y %Z", tm);
>    send_cmd(NULL, "391 :%s", buf);
>}
>
>This should be: 
>
>send_cmd(NULL, "391 %s %s :%s", source, ServerName, buf);
>
>or something like that...

     I could have sworn I fixed this at least once before... oh well.
Fixed (in the 4.5 branch as well), thanks.

><<V13>>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/