Mercurial > noffle
diff src/group.c @ 127:3c71e28c8eef noffle
[svn] Release-1-0 mergedocs/NOTES
author | bears |
---|---|
date | Tue, 25 Jul 2000 13:14:54 +0100 |
parents | 38b0a1532a37 |
children | fed1334d766b |
line wrap: on
line diff
--- a/src/group.c Tue Jul 25 13:12:50 2000 +0100 +++ b/src/group.c Tue Jul 25 13:14:54 2000 +0100 @@ -7,7 +7,7 @@ loadGrp() and saveGrp(). This is done transparently. Access to the groups database is done by group name, by the functions defined in group.h. - $Id: group.c 135 2000-06-05 08:57:05Z bears $ + $Id: group.c 183 2000-07-25 12:14:54Z bears $ */ #if HAVE_CONFIG_H @@ -178,7 +178,7 @@ grp.entry.first = 1; grp.entry.last = 0; grp.entry.rmtNext = GRP_RMT_NEXT_NOT_SUBSCRIBED; - grp.entry.created = 0; + grp.entry.created = time( NULL ); grp.entry.lastAccess = 0; grp.postAllow = 'y'; saveGrp(); @@ -295,16 +295,6 @@ } void -Grp_setCreated( const char *name, time_t value ) -{ - if ( loadGrp( name ) ) - { - grp.entry.created = value; - saveGrp(); - } -} - -void Grp_setRmtNext( const char *name, int value ) { if ( loadGrp( name ) )