Every airline I've been on has an ashtray in the bathrooms, ironically right below the sign that says no smoking in the bathrooms.
If it's prohibited to smoke on airlines, and (in theory) you can't bring a lighter on the plane anyway, what's the point of the ashtray? If it's for cigarettes smoked before security, there are plenty of garbage cans and ashtrays outside of airports.