DesertBus/txircd — pull request #129 by ElementalAlchemist (2012-10-29 23:58:51+00:00)
Title: Implement chanmode +C

I've checked it with a number of sample strings, and it works. Perhaps you can think of a more pythonic way to go about it, but this way does work.
Also: If you want to be extra safe, go ahead and add extra CTCP strings that I didn't test.