summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 035bc8a6..9c165bc0 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -4084,8 +4084,12 @@ ReadSelect(void)
Read();
changed = 1;
}
- // no need to set utmpbid here...
- // setutmpbid(0);
+ // need to set utmpbid here...
+ // because Read() just restores settings.
+ // and 's' directly calls here.
+ // so if we don't reset then utmpbid will be out-of-sync.
+ // fix someday...
+ setutmpbid(0);
currutmp->mode = mode0;
currstat = stat0;
return changed;