IRC: implement deprecation at the right spot

Move it one level higher, in the class that is actually instantiated fro the config.