--- spamspan.module	2009-07-16 11:51:04.000000000 +1000
+++ spamspan.module	2009-07-16 11:50:44.000000000 +1000
@@ -114,6 +114,14 @@
         '#required' => TRUE,
         '#description' => t('Replace "@" with this text when javascript is disabled.')
       );
+      // spamspan '.' replacement
+      $form['spamspan_settings']['spamspan_dot'] = array(
+        '#type' => 'textfield',
+        '#title' => t('Replacement for "."'),
+        '#default_value' => variable_get('spamspan_dot', ' [dot] '),
+        '#required' => TRUE,
+        '#description' => t('Replace "." with this text when javascript is disabled.')
+      );
       $form['spamspan_settings']['spamspan_use_graphic'] = array(
         '#type' => 'checkbox',
         '#title' => t('Use a graphical replacement for "@"'),
@@ -159,8 +167,8 @@
  */
 function _spamspan_callback($matches) {
   // Replace .'s in the address with [dot]
-  $user_name = str_replace(".", " [dot] ", $matches[2]);
-  $domain = str_replace(".", " [dot] ", $matches[3]);
+  $user_name = str_replace(".", variable_get('spamspan_dot', ' [dot] '), $matches[2]);
+  $domain = str_replace(".", variable_get('spamspan_dot',' [dot] '), $matches[3]);
   if (variable_get('spamspan_use_graphic', 1)) {
     $image = base_path() . drupal_get_path("module", "spamspan") ."/image.gif";
     $at = '<img alt="at" width="10" src="'. $image .'" />';
