When an action is brought pursuant to G.S. 143-318.16 or G.S. 143-318.16A, the court may make written findings specifying the prevailing party or parties, and may award the prevailing party or parties a reasonable attorney's fee, to be taxed against the losing party or parties as part of the costs. The court may order that all or any portion of any fee as assessed be paid personally by any individual member or members of the public body found by the court to have knowingly or intentionally committed the violation; provided, that no order against any individual member shall issue in any case where the public body or that individual member seeks the advice of an attorney, and such advice is followed.
N.C. Gen. Stat. § 143-318.16B