Try this: ADD IT TO THE CUSTOM CODE BOTTOM TEXT BOX.
#BuddyPress Anti-Spam Registration 2 # Filter by HTTP/1.0 & Referer GET or POST RewriteCond %{REQUEST_URI} ^(/register|/activate/|wp-login\.php|xmlrpc\.php)$ RewriteCond %{HTTP_REFERER} !^.*ait-pro.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^(vapier)$ [NC,OR] RewriteCond %{THE_REQUEST} HTTP/1\.0$ [OR] RewriteCond %{SERVER_PROTOCOL} HTTP/1\.0$ RewriteRule ^(.*)$ /spam-prevention [R=301,L]