export user_list and pull irc functionality out to irc.h