--- foo_captcha.module	Sat Feb 23 04:45:59 2008
+++ foo_captcha-patch.module	Sat Feb 23 04:53:35 2008
@@ -7,7 +7,7 @@
 function foo_captcha_help($section) {
   switch ($section) {
     case 'admin/user/captcha/foo_captcha':
-      return '<p>'. t('This is a very simple CAPTCHA, which requires users to enter "foo" in a textfield.') .'</p>';
+      return '<p>'. t('This is a very simple CAPTCHA, which requires users to enter "foo" or another administrator customized word in a textfield.') .'</p>';
   }
 }
 
@@ -39,6 +39,11 @@ function foo_captcha_settings_form() {
     '#title' => t('Case insensitive validation'),
     '#default_value' => variable_get('foo_captcha_case_insensitive', TRUE),
   );
+  $form['foo_captcha_word'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Word to prompt for'),
+    '#default_value' => variable_get('foo_captcha_word', 'foo'),
+  );
   return system_settings_form($form);
 }
 
@@ -54,10 +59,10 @@ function foo_captcha_captcha($op, $captc
     case 'generate':
       if ($captcha_type == 'Foo CAPTCHA') {
         $captcha = array();
-        $captcha['solution'] = 'foo';
+        $captcha['solution'] = variable_get('foo_captcha_word', 'foo');
         $captcha['form']['captcha_response'] = array(
           '#type' => 'textfield',
-          '#title' => t('Enter "foo"'),
+          '#title' => t('Enter') . ' "' . variable_get('foo_captcha_word', 'foo') . '"',
           '#required' => TRUE,
         );
         $captcha['preprocess'] = TRUE;
