A basic IRC bot in C