Index: modules/statistics.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/statistics.module,v
retrieving revision 1.117
diff -u -r1.117 statistics.module
--- modules/statistics.module	19 Nov 2003 17:54:44 -0000	1.117
+++ modules/statistics.module	21 Nov 2003 02:06:53 -0000
@@ -832,6 +832,12 @@
   }
 }
 
+function statistics_user($op, $edit, $user) {
+  if ($op == 'delete') { 
+    db_query('DELETE FROM accesslog WHERE uid = %d', $edit->uid);
+  }
+}
+
 /* internal throttle function - do not call from other modules */
 function throttle_update($recent_activity) {
   $throttle = throttle_status();
