An event-driven IRC framework written in C