summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/mbbsd.c b/pttbbs/mbbsd/mbbsd.c
index 7eed6d41..271af0e7 100644
--- a/pttbbs/mbbsd/mbbsd.c
+++ b/pttbbs/mbbsd/mbbsd.c
@@ -938,7 +938,7 @@ setup_utmp(int mode)
uinfo.dark_win = cuser.dark_win;
uinfo.dark_lose = cuser.dark_lose;
uinfo.dark_tie = cuser.dark_tie;
- uinfo.invisible = cuser.invisible % 2;
+ uinfo.invisible = (cuser.invisible % 2) && (!HasUserPerm(PERM_VIOLATELAW));
uinfo.pager = cuser.pager % PAGER_MODES;
uinfo.withme = cuser.withme & ~WITHME_ALLFLAG;