summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 19:18:11 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 19:18:11 +0800
commitc8666f401d70d625c86180640b7fc6e44b0c4ba4 (patch)
treec0e876358ea07e377bb0fd558fc1609b997408f8 /mbbsd/talk.c
parent3bf522b143e8bd77046531e4636e3a0b4c510188 (diff)
downloadpttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar
pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.gz
pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.bz2
pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.lz
pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.xz
pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.zst
pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 5d070193..82ffb0ef 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.46 2002/05/25 06:59:50 in2 Exp $ */
+/* $Id: talk.c,v 1.47 2002/05/25 11:18:11 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -820,8 +820,7 @@ int t_display(void)
sethomepath(buf, cuser.userid);
stampfile(buf, &mymail);
- mymail.savemode = 'H'; /* hold-mail flag */
- mymail.filemode = FILE_READ;
+ mymail.filemode = FILE_READ | FILE_HOLD;
strcpy(mymail.owner, "[備.忘.錄]");
strcpy(mymail.title, "熱線\033[37;41m記錄\033[m");
sethomedir(title, cuser.userid);
@@ -1105,8 +1104,7 @@ static void do_talk(int fd)
sethomepath(genbuf, cuser.userid);
stampfile(genbuf, &mymail);
- mymail.savemode = 'H'; /* hold-mail flag */
- mymail.filemode = FILE_READ;
+ mymail.filemode = FILE_READ|FILE_HOLD;
strcpy(mymail.owner, "[備.忘.錄]");
sprintf(mymail.title, "對話記錄 \033[1;36m(%s)\033[m",
getuserid(currutmp->destuid));