irc.c added local time output with struct tm