Several regulations were added in the 1970s and on regarding lightning protection (at least one in direct response to the 707 accident barit1 listed). In the 1980s, flight critical avionics were pretty new and novel (FBW and FADEC) - on the 747-400 the FAA issued a special condition for lightning (and HIRF) protection of the FADEC systems (later codified into FAR 25.1316). I presume the A320 had similar JAA requirements for the FADEC and FBW systems.
To the best of my knowledge, it's been several decades since a commercial jetliner has been lost due to lightning. While weather may well have been a factor in the loss of Air Asia, it's unlikely to be directly lightning related.