Patch to serendipity_event_spamblock to filter on e-mail
Posted: Fri Dec 29, 2006 1:05 pm
Hi,
I just noticed that a current wave of comment-spam to my blog always contained the same E-mail-address so I dicided to block that one, but I did not find any option in serendipity_event_spamblock.
The code is completely derived from the existing body-filter.
http://download.yousendit.com/60D1284313F5DEDF
(link valid for 7 days)
I added to the description, that you have to escape @ (which is used als the reg-exp-seperator). I also updated the corresponding german, spanish and dutch language strings as good as I (respectively my girl-friend) could.
I just noticed that a current wave of comment-spam to my blog always contained the same E-mail-address so I dicided to block that one, but I did not find any option in serendipity_event_spamblock.
The code is completely derived from the existing body-filter.
http://download.yousendit.com/60D1284313F5DEDF
(link valid for 7 days)
I added to the description, that you have to escape @ (which is used als the reg-exp-seperator). I also updated the corresponding german, spanish and dutch language strings as good as I (respectively my girl-friend) could.

