[srvx-commits] CVS: services/src nickserv.c,1.221,1.222
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-01-04 05:33:01
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv3042/src
Modified Files:
nickserv.c
Log Message:
remove the (generally bogus and annoying) account vs user timestamp check
Index: nickserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/nickserv.c,v
retrieving revision 1.221
retrieving revision 1.222
diff -C2 -r1.221 -r1.222
*** nickserv.c 22 Dec 2002 19:12:44 -0000 1.221
--- nickserv.c 4 Jan 2003 05:32:58 -0000 1.222
***************
*** 3242,3258 ****
if (hi) {
- /* If the user is older than the account, ignore the
- stamp, as it may be invalid. */
- if (hi->registered > user->timestamp) {
- log(MAIN_LOG, LOG_OTHER, "Ignoring user stamp %s for %s since user's timestamp predates account %s ("FMT_TIME_T" < "FMT_TIME_T").\n", stamp, user, hi->handle, user->timestamp, hi->registered);
- return;
- }
-
- /* valid_user_for() is theoretically unnecessary here
- because users must authenticate to receive a stamp
- in the first place; however, we must prevent
- stamped users from getting onto suspended handles.
- The last argument is 0 because we don't want to
- stamp the user again. */
if (HANDLE_FLAGGED(hi, SUSPENDED)) {
return;
--- 3242,3245 ----
|