From f016a6dc1db15d57540cfdd5d7633ef2214e7073 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 10 Jun 2013 20:45:11 +0000 Subject: Violated user cannot set visibility, so let's make them always visible. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/mbbsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3