summaryrefslogtreecommitdiffstats
path: root/mbbsd/chat.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/chat.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/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);