Recently there have been an influx of nuisance obscene adverts in my message board .
The ips are mainly range not allocated to APNIC.
Take for instance, 93.174.93.222

Earlier for such an IP, I would do a block "deny from 93." , ie all ips starting with 93 would be blocked.

The ips I blocked are as follows:
deny from 24.
deny from 66.
deny from 67.
deny from 68.
deny from 69.
deny from 70.
deny from 71.
deny from 72.
deny from 76.
deny from 83.
deny from 85.
deny from 89.
deny from 91.
deny from 93.
deny from 122.
deny from 174.
deny from 193.
deny from 194.
deny from 216.


But 2 days ago, I have been blocked from accessing my message board as well so I have to remove the block and yesterday, the influx of adverts got worse.

I would appreciate if someone could advise on how to narrow the blocking of ips range.
For example, for ip 93.174.93.222, I would only like to block the range not allocated to APNIC, ie 93.0.0.0 - 93.255.255.255.
How do I block 93.0.0.0 - 93.255.255.255?

Thank you.