Karrueche Tran might have been granted a five-year restraining order against Chris Brown, but the singer does not have to attend domestic violence classes amid the claims that he threatened her.

The original court order, which mentioned that Brown would have to take domestic violence classes, was entered by mistake, according to documents obtained by Bossip this week.

"On the Court's own motion, the Restraining Order after Hearing, signed and filed on June 15, 2017, in the above-entitled action is modified in the following particulars; Item #22 (Batterers' Intervention Program) is not to be a part of the order and the Court makes no order for respondent to participate in a batterers' intervention program," the documents read. "That issue was not raised at the hearing. Further, the Court finds that there was an error in the description of the respondent, and that is now corrected."

Papers said that Brown would also have to receive the new documents, without the order, for him to attend the batterers' class.

The updated order came days after the judge granted the order against Brown.

Tran claimed that he threatened her via text.

"I'm not being nice to you no more, if I see you out in public again and I'm there I will make you hate me even more, don't be anywhere I'm out in public, I'm going to ban you from all events," the singer told her.

Other texts reportedly said, "I can get my money back and I'm tired of playing games... I promise you will make your life hell."

He also is accused of telling her he will "beat her" and he also threatened actor Michael B. Jordan taking a photo with Tran.

Brown's lawyer, David Gammill, said Tran also played a part and pointed out she never told the authorities of Brown's reported threats.

In the end, the judge ruled in favor of Tran.