Index: uc_signup.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_signup/uc_signup.module,v
retrieving revision 1.38
diff -u -p -r1.38 uc_signup.module
--- uc_signup.module	7 Sep 2009 18:55:09 -0000	1.38
+++ uc_signup.module	7 Sep 2009 18:57:28 -0000
@@ -114,7 +114,13 @@ function uc_signup_attendees_form_emails
       if (empty($default)) {
         $default = $_SESSION['uc_signup']['nids'][$event['nid']][$num];
       }
-      // TODO: Prepop with current user email on first view.
+      if (empty($default) && $num == 0) {
+        global $user;
+        $account = $user;
+        if (!empty($account->uid) && !uc_signup_user_is_signed_up($account->mail, $event['nid'])) {
+          $default = $account->mail;
+        }
+      }
       $form[$event['nid']][$num] = array(
         '#type' => 'textfield',
         '#title' => t('Email Address of Attendee #%count', array('%count' => $num + 1)),
