It has been well settled in this state that no appeal lies to this court from the exercise of a discretionary power of the superior court. But if the exercise of a discretion by that court is refused upon the ground that it has no power to grant a motion addressed to its discretion, the ruling of that court is reviewable.
In Hudgins v. White, 65 N. C., 393, it is held, “if a judge refuses to entertain a motion to set aside a judgment for any *22of the causes mentioned in section 133 of the Code, because he thinks he has no power to grant it, he fails to exercise the discretion confided to him by the law, and there is error.
To the same effect are Winslow v. Alexander, 2 Dev. & Bat., 9; State v. Locust, 63 N. C., 574.
Section 133 of the Code and the act of 1868-’69, amended by acts of 1870-71, ch. 42, and 1872-73, ch. 14, being in pari materia must be construed together. By the act of 1868-’69 as amended, it is provided that “ the plaintiff shall file his complaint in the clerk’s office on or before the third day of the term to which the action is brought, otherwise the suit shall, on motion, be dismissed by the court at the costs of the plaintiff; and the defendant shall appear and demur, plead, or answer at the same term to which the summons is returnable, otherwise the plaintiff may have judgment by default, as is now allowed by law.”
It is probable that it was in view of this provision of the law that His Honor held he had no power to allow the answer of the defendant to be filed, but there is nothing in the act of 1868-69, with its amendments, which takes away or in any degree impairs the discretionary powers given in section 133. By that section it is provided that the judge may in his discretion, and upon such terms as he may deem to be just, allow an answer or reply to be made, or other act to be done after the time limited by this act.”
It was insisted by the defendant that this section applied only to the pleadings existing before the Code was suspended by the act of 1868, but we think that that act, with the amendatory acts, was an amendment of the provisions of the Code, and the section (133) applies to these, as it did to the original pleadings prescribed in the Code.
In the case of Austin v. Clark, 70 N. C., 458, the defendant answered the complaint and the plaintiff demurred to the answer. His Honor sustained the demurrer; whereupon
*23the plaintiff moved for judgment, and the defendant moved for time to file an amended answer. The plaintiff’s motion was refused and time given to defendant. ByNUM, J., speaking for the court, said: “The C. C. P. invests the court with ample powers, in all questions of practice and procedure, both as to amendments and continuances, to be exercised at the discretion of the judge presiding, who is presumed best to know what orders and what indulgence will promote the ends of justice in each particular case. With the exercise of this discretion we cannot interfere, and it is not the subject of appeal.”
But independent of the Code, we hold that the right to amend the pleadings of a cause and allow answers or other pleadings to be filed at any time, is an inherent power of the superior courts, which they may exercise at their discretion, unless prohibited by some statutory enactment or unless vested rights are interfered with.
How the discretion of His Honor should be exercised sin this case we are not authorized to indicate an opinion, but we hold there was error in his ruling, that he had not the power to allow the motion of the defendant. But before concluding we would suggest that the act suspending the Code was as much imperative upon the plaintiff to file his complaint within the first three days of the term, to which the summons was returned, as it was upon the defendant to file his answer during that term.
There is error. Let this be certified.
Error. Reversed.