J.K. Rowling scored a victory today for breach of confidentiality against the law firm that revealed that she had written a mystery novel under a pseudonym.

The author, most famous for writing the “Harry Potter” series of books, will receive no money (save for reimbursement of legal costs) and the damages will instead go to the U.K.’s Soldiers’ Charity.

Rowling was miffed when her identity was leaked via Twitter as the true author of “The Cuckoo’s Calling,” which was published under the name “Robert Galbraith.” A friend of one of the partners at Russell Solicitors, the law firm in question, had tweeted about Rowling being Galbraith, but quickly deleted it.

Rowling was not in court for today’s hearing.