summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-27 01:55:49 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-27 01:55:49 +0800
commitc1d9cc5eb4e7b3e0141b1620cce6df11eded68a5 (patch)
treeb7df4b3a2e3d5999c0b7cabde5c9e0e22c010808
parent1252e1baa61de03ade59fa53af7a3f51f5e2bf7e (diff)
downloadpttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.tar
pttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.tar.gz
pttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.tar.bz2
pttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.tar.lz
pttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.tar.xz
pttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.tar.zst
pttbbs-c1d9cc5eb4e7b3e0141b1620cce6df11eded68a5.zip
discard the situation
PERM_SYSOPHIDE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/toplazyBBM.c1
-rw-r--r--util/toplazyBM.c1
2 files changed, 2 insertions, 0 deletions
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;