The uniform continuity theorem (UCT) states that every pointwise continuous real-valued function on the unit interval is uniformly continuous. In constructive reverse mathematics, UCT is stronger than the decidable fan theorem. In this paper, we show that when "pointwise continuous" is replaced with "having a continuous modulus", UCT becomes equivalent to the decidable fan theorem. Here, a modulus of a real-valued function on the unit interval is a function which calculates a modulus of pointwise continuity of the given function from the input and the required accuracy of the output. Such a modulus is said to be continuous if it is pointwise continuous with respect to the representation of real numbers as regular sequences of rationals equipped with the topology of Baire space. We also show that continuous real-valued functions on the unit interval which have continuous moduli are exactly those functions induced by type one "continuous functions" described by Loeb [Ann.