diff options
-rw-r--r-- | pttbbs/util/shmctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |