I solved this way

Code
On *:PARSELINE:in:& 005 *:{ noop $regsubex(foo,$parseline,/(\sCHANTYPES=\S+)/g,$remove(\t,+),&foo) | .parseline -ib &foo }

but it only works locally, if you use a bouncer (znc) when you reconnect by reopening mirc the problem returns. If you have another solution, thank you.