summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-27 00:18:36 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-27 00:18:36 +0800
commit20f4eb0044ca077e5b3eee0bd45db5416ffc635c (patch)
treeae0b255b822c4e86d3897aee421f4fc5150edda1 /mbbsd/mbbsd.c
parent9dd48ea3c05e2da29544b57b9ffc609d38014ff2 (diff)
downloadpttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.tar
pttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.tar.gz
pttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.tar.bz2
pttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.tar.lz
pttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.tar.xz
pttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.tar.zst
pttbbs-20f4eb0044ca077e5b3eee0bd45db5416ffc635c.zip
only read favbuf & brdbuf before one need it,
save them when logout if memory is correct (by MEM_CHECK) and they were loaded git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index b74a9a22..0adb2756 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.57 2002/09/18 01:02:23 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.58 2002/09/26 16:18:36 in2 Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -166,6 +166,7 @@ u_exit(char *mode)
auto_backup();
setflags(PAGER_FLAG, currutmp->pager != 1);
setflags(CLOAK_FLAG, currutmp->invisible);
+ save_brdbuf();
cuser.invisible = currutmp->invisible;
cuser.pager = currutmp->pager;