Did I do the right thing?

I ruin my friendship with my friend, but I was worried about her safety.

She has been talking to a guy online, and she called me, and told me she was going to meet him. She said she was using me as her covor just so I know. She told her mom that she was going to stay with me for a week to visit, reality she was going to take a train can you eat this guy (he lives in another state)

I told me mom because I was worried about her actually meeting someone crazy. I ask my mom if she could call her mom for me, and tell her the truth.

Now she is mad at me that I ruin her plans to meet her boyfriend, but he was just some guy she met online. I was just worried about something happening to her.