diff options
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 0c720dda..cf64faaa 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.72 2002/11/07 09:13:24 in2 Exp $ */ +/* $Id: bbs.c,v 1.73 2002/11/07 09:35:51 in2 Exp $ */ #include "bbs.h" static void @@ -713,6 +713,10 @@ edit_post(int ent, fileheader_t * fhdr, char *direct) if ((!HAS_PERM(PERM_SYSOP)) && strcmp(fhdr->owner, cuser.userid)) return DONOTHING; + + if( currmode & MODE_SELECT ) + return DONOTHING; + setutmpmode(REEDIT); setdirpath(genbuf, direct, fhdr->filename); local_article = fhdr->filemode & FILE_LOCAL; @@ -1205,6 +1209,9 @@ recommend(int ent, fileheader_t * fhdr, char *direct) char buf[200], path[200], yn[5]; boardheader_t *bp; + if( currmode & MODE_SELECT ) + return DONOTHING; + bp = getbcache(currbid); if( bp->brdattr & BRD_NORECOMMEND ){ vmsg("©êºp, ¥»ªO¸T¤î±ÀÂË"); @@ -1355,6 +1362,9 @@ del_post(int ent, fileheader_t * fhdr, char *direct) int not_owned; boardheader_t *bp; + if( currmode & MODE_SELECT ) + return DONOTHING; + bp = getbcache(currbid); if (strcmp(bp->brdname, "Security") == 0) return DONOTHING; |