[IRCServices Coding] svcs5

v13 at priest.com v13 at priest.com
Sun Dec 16 14:20:32 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...

<<V13>>