Man ordered to stay away from Alyson Hannigan
LOS ANGELES (AP) -- A judge has ordered a New Hampshire man to refrain from posting anything online about Alyson Hannigan or to try to meet the actress.
Los Angeles Superior Court Judge Carol Boas Goodson issued a three-year restraining order against John Hobbs after a brief hearing Wednesday.
RELATED: Hollywood's Funniest Moms
Hannigan stated in court filings last month that Hobbs has posted a barrage of threatening messages about her and her family online.
The filings state the 43-year-old acknowledged to police that he wanted to meet the 38-year-old star of "How I Met Your Mother" and "American Pie."
RELATED: Who Said It? Funny Mom Quotes
Goodson noted that Hobbs agreed to the terms of the restraining order and that Hannigan's husband and two children also should be protected.
The actress did not attend the hearing.
Beyonce rocks a one-piece, plus more of the best celeb swimsuit moments of summer 2015 thus far on today's Celebs Gone Social.Watch Video »
Channing Tatum, Joe Manganiello and co-stars dish on being naked and wearing thongs on the set of "Magic Mike XXL" with Wonderwall.com's Kirby Kristen.Watch Video »
J.Lo's Mini Me
Jennifer Lopez shares an adorable photo of her look-alike daughter, plus more celebritots on social media on today's Celebs Gone Social.Watch Video »
Bellamy Young chats attachment to her "Scandal" wig, dishes on her hopes for season five and more!Watch Video »
Check out Diane Kruger, Elizabeth Banks, and Kendall Jenner's style statements on OMG Celeb Fashion hosted by Wonderwall's Kirby Kristen.Watch Video »
Learn how you can get Jennifer Lawrence's fresh-faced glow at home on the latest episode of Wonderwall.com's DIY Celeb Makeup.Watch Video »