Index: xmlsitemap_node/xmlsitemap_node.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module,v
retrieving revision 1.19.2.105
diff -u -p -r1.19.2.105 xmlsitemap_node.module
--- xmlsitemap_node/xmlsitemap_node.module	29 Apr 2009 16:16:04 -0000	1.19.2.105
+++ xmlsitemap_node/xmlsitemap_node.module	1 May 2009 19:48:55 -0000
@@ -159,7 +159,7 @@ function xmlsitemap_node_form_user_admin
     '#type' => 'select',
     '#title' => t('User posts threshold'),
     '#description' => t('The number of posts a user must author before his posts are added to the site map.') .' '. t('This is the default value used for the users for which the post threshold has not been set.'),
-    '#default_value' => variable_get('xmlsitemap_node_posts_count', 100),
+    '#default_value' => variable_get('xmlsitemap_node_posts_count', 1),
     '#options' => array(
       '1' => t('1'),
       '5' => t('5'),
@@ -317,7 +317,7 @@ function xmlsitemap_node_user($op, &$edi
         '#type' => 'select',
         '#title' => t('User posts threshold'),
         '#description' => t('The number of posts a user must author before his posts are added to the site map.'),
-        '#default_value' => variable_get('xmlsitemap_node_posts_count_'. $account->uid, variable_get('xmlsitemap_node_posts_count', 100)),
+        '#default_value' => variable_get('xmlsitemap_node_posts_count_'. $account->uid, variable_get('xmlsitemap_node_posts_count', 1)),
         '#options' => array(
           '1' => t('1'),
           '5' => t('5'),
@@ -365,7 +365,7 @@ function xmlsitemap_node_xmlsitemap_link
   if (!($user = user_load($node->uid))) {
     return XMLSITEMAP_LINK_DISABLED;
   }
-  $posts_threshold = variable_get('xmlsitemap_node_posts_count_'. $node->uid, variable_get('xmlsitemap_node_posts_count', 100));
+  $posts_threshold = variable_get('xmlsitemap_node_posts_count_'. $node->uid, variable_get('xmlsitemap_node_posts_count', 1));
   $posts = (integer) db_result(db_query("SELECT COUNT(nid) FROM {node} WHERE uid = %d", $node->uid));
   if (!user_access('by-pass the authored nodes check', $user) && $posts_threshold > $posts) {
     return XMLSITEMAP_LINK_DISABLED;
