diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 02:24:22 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 02:24:22 +0800 |
commit | 2aed4fa0ea1d611cd75402562ea2564bbd223ede (patch) | |
tree | f6054c428a68f062497748eaa4e877804979ebf9 /mbbsd/mbbsd.c | |
parent | 165c4b5c6acdf9a3888bc1b1f20b08e36eff2539 (diff) | |
download | pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.tar pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.tar.gz pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.tar.bz2 pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.tar.lz pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.tar.xz pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.tar.zst pttbbs-2aed4fa0ea1d611cd75402562ea2564bbd223ede.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 62fcfa86..e964c2c0 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.30 2002/05/24 16:32:31 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.31 2002/05/24 18:24:22 ptt Exp $ */ #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -208,9 +208,6 @@ u_exit (char *mode) close(0); close(1); - /* random sleep to avoid MANY users logout at the same time */ - usleep((int)((float)rand() * 10000000 / RAND_MAX)); - reload_money(); auto_backup (); save_brdbuf(); @@ -220,6 +217,7 @@ u_exit (char *mode) cuser.invisible = currutmp->invisible; cuser.pager = currutmp->pager; cuser.mind = currutmp->mind; + setutmpbid(0); if (!(HAS_PERM (PERM_SYSOP) && HAS_PERM (PERM_DENYPOST)) && !currutmp->invisible ) do_aloha ("<<下站通知>> -- 我走囉!"); |