Added another word to the CAPTCHA blacklist (thanks Neal).
authorDan
Fri, 15 May 2009 19:52:12 -0400
changeset 989 79d558a94798
parent 988 11960d9b0087
child 990 3821516d17e4
child 992 34a7fe38d78b
child 993 e7aa23ee7f7a
Added another word to the CAPTCHA blacklist (thanks Neal).
plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php	Fri May 15 17:24:19 2009 -0400
+++ b/plugins/SpecialUserFuncs.php	Fri May 15 19:52:12 2009 -0400
@@ -1368,7 +1368,7 @@
   $code = $session->generate_captcha_code();
   // Avoid letting our captchas end up on failblog.org
   // BTW, the last one was a real-life encounter: http://files.ha.xx0r.info/murder.png
-  foreach ( array('shit', 'cock', 'fuck', 'nazi', 'cunt', 'pussy', 'penis', 'piss', 'tits', 'murder') as $word )
+  foreach ( array('shit', 'cock', 'fuck', 'nazi', 'cunt', 'clit', 'pussy', 'penis', 'piss', 'tits', 'murder') as $word )
   {
     if ( stristr($code, $word) )
     {