summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
-rw-r--r--mbbsd/chat.c2
-rw-r--r--mbbsd/gomo.c2
-rw-r--r--mbbsd/mail.c2
-rw-r--r--mbbsd/talk.c4
5 files changed, 7 insertions, 5 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 5166d83d..7b725b81 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -435,6 +435,8 @@ do_crosspost(char *brd, fileheader_t *postfile, const char *fpath)
char genbuf[200];
int len = 42-strlen(currboard);
fileheader_t fh;
+ if(!strncasecmp(postfile->title, str_reply, 3))
+ len=len+4;
setbpath(genbuf, brd);
stampfile(genbuf, &fh);
strcpy(fh.owner, postfile->owner);
diff --git a/mbbsd/chat.c b/mbbsd/chat.c
index 6090c246..28b488f9 100644
--- a/mbbsd/chat.c
+++ b/mbbsd/chat.c
@@ -523,7 +523,7 @@ t_chat()
sethomepath(genbuf, cuser.userid);
stampfile(genbuf, &mymail);
- mymail.filemode = FILE_READ | FILE_HOLD;
+ mymail.filemode = FILE_READ ;
strlcpy(mymail.owner, "[備.忘.錄]", sizeof(mymail.owner));
strlcpy(mymail.title, "會議\033[1;33m記錄\033[m", sizeof(mymail.title));
sethomedir(title, cuser.userid);
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c
index 1b95ef4d..d83f6f7d 100644
--- a/mbbsd/gomo.c
+++ b/mbbsd/gomo.c
@@ -207,7 +207,7 @@ HO_log(Horder_t *pool, char *user)
sethomepath(buf1, cuser.userid);
stampfile(buf1, &mymail);
- mymail.filemode = FILE_READ | FILE_HOLD;
+ mymail.filemode = FILE_READ ;
strlcpy(mymail.owner, "[備.忘.錄]", sizeof(mymail.owner));
snprintf(mymail.title, sizeof(mymail.title),
"\033[37;41m棋譜\033[m %s VS %s", cuser.userid, user);
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 171269af..59f1aaa5 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -200,7 +200,7 @@ do_hold_mail(char *fpath, char *receiver, char *holder)
sethomepath(buf, holder);
stampfile(buf, &mymail);
- mymail.filemode = FILE_READ | FILE_HOLD;
+ mymail.filemode = FILE_READ ;
strlcpy(mymail.owner, "[備.忘.錄]", sizeof(mymail.owner));
if (receiver) {
snprintf(title, sizeof(title), "(%s) %s", receiver, save_title);
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 4af0fa92..761b4c4d 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -810,7 +810,7 @@ t_display(void)
sethomepath(buf, cuser.userid);
stampfile(buf, &mymail);
- mymail.filemode = FILE_READ | FILE_HOLD;
+ mymail.filemode = FILE_READ ;
strlcpy(mymail.owner, "[備.忘.錄]", sizeof(mymail.owner));
strlcpy(mymail.title, "熱線記錄", sizeof(mymail.title));
sethomedir(title, cuser.userid);
@@ -1092,7 +1092,7 @@ do_talk(int fd)
sethomepath(genbuf, cuser.userid);
stampfile(genbuf, &mymail);
- mymail.filemode = FILE_READ | FILE_HOLD;
+ mymail.filemode = FILE_READ ;
strlcpy(mymail.owner, "[備.忘.錄]", sizeof(mymail.owner));
snprintf(mymail.title, sizeof(mymail.title),
"對話記錄 \033[1;36m(%s)\033[m",