From feca811e0e0afcd67e9153522d40ae58bb468b2f Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 9 Nov 2010 18:56:23 +0100 Subject: Modified time branch to store only first and last time seen. --- user.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'user.h') diff --git a/user.h b/user.h index dc4304e..469c6e7 100644 --- a/user.h +++ b/user.h @@ -10,26 +10,14 @@ struct user_t { char *nick; unsigned long lines[24*4]; unsigned long long words, characters, kicks, kicked, monolog_lines, monologs; - time_t seen_first, seen_last, last_join, time_total; + time_t seen_first, seen_last; struct user_t *real_user, *next; }; -struct user_time_t { - unsigned long hash; - char *nick; - time_t seen_first, seen_last, last_join, time_total; - struct user_time_t *real_user, *next; -}; - void user_init(); struct user_t *user_get(char *nick); void user_free(); -void user_time_init(); -struct user_time_t *user_time_get(char *nick, int ignore_real); -void user_time_free(); - extern struct user_t *users; -extern struct user_time_t *users_time; #endif -- cgit v1.2.3