Modular IRC bot in C