Ircppbot-Example is a project mainly written in C++ and C, it's free.
irc c++ EXAMPLE module
building: make clean make all