includes/sessions.php
changeset 1266 f3933b355229
parent 1264 28c82f292a52
child 1271 77accbee98f5
--- a/includes/sessions.php	Sun Jul 25 11:23:09 2010 -0400
+++ b/includes/sessions.php	Mon Jul 26 20:10:01 2010 -0400
@@ -3481,6 +3481,12 @@
 					$word .= 't';
 				else if ( $prev_l == 'p' && mt_rand(0, 5) == 1 )
 					$word .= 'h';
+				// this rule allows "ck" which can result in the occasional "dick", "fuck", etc. that tends
+				// to end up on 4chan, but I decided to keep it, because it increases word complexity.
+				else if ( $prev_l == 'c' && mt_rand(0, 3) == 1 )
+					$word .= 'k';
+				else if ( $prev_l == 'q' && mt_rand(0, 5) != 1 )
+					$word .= 'u';
 				else
 					$word .= $vowels{mt_rand(0, (strlen($vowels)-1))};
 			}