--- drupalit.module	2007-06-14 04:31:56.000000000 -0500
+++ drupalitnew.module	2007-07-01 16:51:02.000000000 -0500
@@ -312,6 +312,19 @@ function drupalit_drupalit_node($nid) {
 function drupalit_count_vote($nid, $ajax = FALSE) {
   if ($ajax && user_access('vote drupalit')) {
     $data = _drupalit_data($nid);
+
+    if ($data['uid'] != 0) {	
+      if ($data['user_vote_time']) {
+        $now = time();
+        $interval = variable_get('drupalit_interval', 3600);
+        $check_time = $data['user_vote_time'] + $interval;
+        if ($check_time > $now || $interval == -1) {
+          exit();
+        }
+      }
+    }
+
+
     if ($data['votes'] == 0) {
       $votes = $data['votes'] + $data['vote_power'];
       db_query("INSERT INTO {drupalit_votes} (nid, votes, last_vote, first_vote, daily_votes, daily_first_vote, weekly_votes, weekly_first_vote, monthly_votes, monthly_first_vote) VALUES (%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)", $nid, $votes, time(), time(), $votes, time(), $votes, time(), $votes, time());
