ZNC
An IRC bouncer: a program that stays connected to the IRC network around the clock and that your own client connects to in turn. It solves IRC's lack of history for anyone who has been away.
Without a bouncer everything said while you were disconnected is gone, and your nickname doesn't stay in the channel. ZNC keeps the connection alive, stores a playback buffer replayed when you return, and lets several devices — laptop, phone, work machine — share one session. Modules add logging, notifications, channel tracking and SASL. It requires a server that stays up, which in practice means a cheap VPS. Alternatives: soju, which is more modern and built around IRCv3 extensions, and Matrix bridges for anyone who would rather switch protocol than keep a box running.