This would seem more appropriate to me:
Code:
on *:OP:#chan1,#chan2,#chan3:{
  if ($opnick == $me) {
    var %m = $gettok($chan(#).mode,1,32)
    if ((u !isincs %m) || (c !isincs %m)) mode $chan +uc
  }
}

This will of course set +uc even if u is already set, but c not (and vice versa).