made irc_sock global :(