From c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5 Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 26 Jul 2004 17:55:49 +0000 Subject: discard the situation PERM_SYSOPHIDE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/toplazyBBM.c | 1 + util/toplazyBM.c | 1 + 2 files changed, 2 insertions(+) diff --git a/util/toplazyBBM.c b/util/toplazyBBM.c index 97cb62ae..739539a5 100644 --- a/util/toplazyBBM.c +++ b/util/toplazyBBM.c @@ -100,6 +100,7 @@ int main(int argc, char *argv[]) if (((((int)time(NULL)-(int)xuser.lastlogin)/(60*60*24))>=7) //&& isalpha(allbrd[i].brdname[0]) //&& isalpha(allbrd[i].BM[0]) + && !(xuser.userlevel & PERM_SYSOPHIDE) && !(xuser.userlevel & PERM_SYSOP)) { lostbms[j].bmname = p; diff --git a/util/toplazyBM.c b/util/toplazyBM.c index bf31be58..7d03c07f 100644 --- a/util/toplazyBM.c +++ b/util/toplazyBM.c @@ -102,6 +102,7 @@ int main(int argc, char *argv[]) bms[index].bmname = p; bms[index].flag = 0; if ((now-xuser.lastlogin)>=45*86400 + && !(xuser.userlevel & PERM_SYSOPHIDE) && !(xuser.userlevel & PERM_SYSOP)) { lostbms[j].bmname = p; -- cgit v1.2.3