summaryrefslogtreecommitdiffstats
path: root/mbbsd/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r--mbbsd/chat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c
index e7e7846a..284403a8 100644
--- a/mbbsd/chat.c
+++ b/mbbsd/chat.c
@@ -1,4 +1,4 @@
-/* $Id: chat.c,v 1.3 2002/05/13 03:20:04 ptt Exp $ */
+/* $Id: chat.c,v 1.4 2002/05/25 11:18:11 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -600,8 +600,7 @@ int t_chat() {
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, "[³Æ.§Ñ.¿ý]");
strcpy(mymail.title, "·|ij\033[1;33m°O¿ý\033[m");
sethomedir(title, cuser.userid);