Shell sessions and bouncers sort of alleviate the history issue if that is what you really need. I always thought that not having history was part of the magic of IRC.
That said, all your private messages as well as any messages in public channels can be logged and will persist on your PC until you delete them.