irc.c valgrind errors magically fixed