diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-11 01:41:45 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-11 01:41:45 +0800 |
commit | 21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db (patch) | |
tree | 028cfb28e049768434832fd6c9301278be03cdab /mbbsd/mbbsd.c | |
parent | 60e0f10f5a60bac35a3de3697e957319e7b5ddc1 (diff) | |
download | pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.gz pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.bz2 pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.lz pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.xz pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.zst pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.zip |
lazy sort utmp
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 2ef59687..3a5828b0 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.65 2003/01/24 19:48:14 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.66 2003/02/10 17:41:45 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -743,6 +743,7 @@ setup_utmp(int mode) if (enter_uflag & CLOAK_FLAG) uinfo.invisible = YEA; getnewutmpent(&uinfo); + SHM->UTMPneedsort = 1; #ifndef _BBS_UTIL_C_ friend_load(); nice(3); |