plugins/SpecialUserFuncs.php
changeset 1335 28b52db3cf3a
parent 1313 da50b017af94
child 1347 d8983d3a8468
equal deleted inserted replaced
1334:b9ecf7618fbc 1335:28b52db3cf3a
  1354 	}
  1354 	}
  1355 
  1355 
  1356 	$session->make_captcha(7, $hash);
  1356 	$session->make_captcha(7, $hash);
  1357 	$code = $session->generate_captcha_code();
  1357 	$code = $session->generate_captcha_code();
  1358 	// Avoid letting our captchas end up on failblog.org
  1358 	// Avoid letting our captchas end up on failblog.org
  1359 	// BTW, the last one was a real-life encounter: http://files.ha.xx0r.info/murder.png
  1359 	// BTW, the last one was a real-life encounter: http://img822.imageshack.us/img822/3851/murderg.png
  1360 	foreach ( array('shit', 'cock', 'fuck', 'nazi', 'cunt', 'clit', 'pussy', 'penis', 'piss', 'tits', 'murder') as $word )
  1360 	foreach ( array('shit', 'cock', 'fuck', 'nazi', 'cunt', 'clit', 'pussy', 'penis', 'piss', 'tits', 'murder') as $word )
  1361 	{
  1361 	{
  1362 		if ( stristr($code, $word) )
  1362 		if ( stristr($code, $word) )
  1363 		{
  1363 		{
  1364 			// but don't put too much effort into this (will only correct this once)
  1364 			// but don't put too much effort into this (will only correct this once)