From 66ec11ad8656d0f3b3052106ca303fced728b30d Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 21 Feb 2012 11:53:47 +0000 Subject: remove debug sleeping from popularity git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/util/shmctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pttbbs/util/shmctl.c b/pttbbs/util/shmctl.c index eb0c9c86..69142dcf 100644 --- a/pttbbs/util/shmctl.c +++ b/pttbbs/util/shmctl.c @@ -427,7 +427,7 @@ void utmpsort(int sortall) memset(nusers, 0, sizeof(nusers)); for (i = 0; i < count; ++i) { uentp = &SHM->uinfo[SHM->sorted[ns][0][i]]; - if (uentp && uentp->pid && + if (uentp && uentp->pid && uentp->mode != DEBUGSLEEPING && 0 < uentp->brc_id && uentp->brc_id < MAX_BOARD) ++nusers[uentp->brc_id - 1]; } -- cgit v1.2.3