Index: pingfm.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pingfm/Attic/pingfm.module,v
retrieving revision 1.1.2.7
diff -u -p -r1.1.2.7 pingfm.module
--- pingfm.module	14 Nov 2008 08:01:36 -0000	1.1.2.7
+++ pingfm.module	23 Dec 2008 09:25:04 -0000
@@ -190,13 +190,17 @@ function pingfm_custom_url($user, $key) 
   if ($_SERVER['REQUEST_METHOD'] == 'POST') {
     if ($key == $user->pingfm_app_key) {
       if (!empty($user->pingfm_customurl_nodetype) && $user->pingfm_customurl_nodetype != 'none') {
+
+        // Get the settings for the node type. Use the same defaults as core.
+        $nodeopts = variable_get('node_options_'. $user->pingfm_customurl_nodetype, array('status', 'promote'));
+        
         $node = array(
           'title' => $title,
           'uid' => $user->uid,
           'name' => $user->name,
           'body' => $message,
           'type' => $user->pingfm_customurl_nodetype,
-          'promote' => 1,
+          'promote' => in_array('promote', $nodeopts) ? 1 : 0,
         );
         if ($node = node_submit($node)) {
           node_save($node);
