summaryrefslogtreecommitdiffstats
path: root/util/toplazyBM.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-30 12:11:47 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-30 12:11:47 +0800
commit4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24 (patch)
treee8ae6e0fd19b7747c584ad260d87961cb080f0f6 /util/toplazyBM.c
parent19ac7dc362b3d41ad601360eaccbd607bd0816f1 (diff)
downloadpttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.tar
pttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.tar.gz
pttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.tar.bz2
pttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.tar.lz
pttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.tar.xz
pttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.tar.zst
pttbbs-4fbe54ca7f9033a218d9feb2e8fa70c3faef7c24.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@389 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/toplazyBM.c')
-rw-r--r--util/toplazyBM.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/toplazyBM.c b/util/toplazyBM.c
index 736379f4..3d139d5b 100644
--- a/util/toplazyBM.c
+++ b/util/toplazyBM.c
@@ -1,4 +1,4 @@
-/* $Id: toplazyBM.c,v 1.14 2002/06/30 04:04:35 ptt Exp $ */
+/* $Id: toplazyBM.c,v 1.15 2002/06/30 04:11:47 ptt Exp $ */
#include "bbs.h"
#define OUTFILE BBSHOME "/etc/toplazyBM"
#define FIREFILE BBSHOME "/etc/firelazyBM"
@@ -164,7 +164,7 @@ int main(int argc, char *argv[])
lostdays = lostbms[i].lostdays;
- if( (lostdays != 45) && (lostdays <= 60))
+ if( lostdays != 45 && lostdays != 60 && lostdays!=75 &&(lostdays <= 90))
continue;
sprintf(genbuf, BBSHOME "/home/%c/%s",
@@ -178,11 +178,11 @@ int main(int argc, char *argv[])
lostbms[i].bmname);
}else{
sprintf(mymail.title,
- "\033[32m版主自動免職通知\033[m %s BM %s", lostbms[i].title,
+ "\033[32m版主自動免職通知\033[m %s 版主 %s",lostbms[i].title,
lostbms[i].bmname);
}
unlink(genbuf);
- if(lostdays <= 60){
+ if(lostdays <= 90){
LINK(OUTFILE, genbuf);
}else{
LINK(FIREFILE, genbuf);