--- email.module	2008-11-24 04:56:09.000000000 +0000
+++ email_new.module	2008-11-24 04:56:11.000000000 +0000
@@ -234,8 +234,8 @@ function email_mail_page($nid=null, $fie
     return;
   }
 
-  if (!flood_is_allowed('email', variable_get('email_hourly_threshold', 3))) {
-    $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('email_hourly_threshold', 3)));
+  if (!flood_is_allowed('email', variable_get('contact_hourly_threshold', 3))) {
+    $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('contact_hourly_threshold', 3)));
   }
   else {
     $output = drupal_get_form('email_mail_page_form');
