Fixed Declarations and prototype in irc.c