Are you possibly refering to tools, options, IRC and the tick box named 'rejoin channels on connect' ?

I have that unticked in my installation and let my script control all that.

If you are using a connect script, then you would probably be better waiting for user mode +r being applied before doing your (re-)joins.