summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-11 19:15:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-11 19:15:00 +0800
commitc7b8642cf179fea32b2e97a8035ba0a083e83190 (patch)
treea7de2cfb5905722aa2e74cd1715ecaaccc1b8ff8 /mbbsd/mbbsd.c
parent5f49e100dcde71ed1632ee27caa7d9c1a8a0d189 (diff)
downloadpttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.tar
pttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.tar.gz
pttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.tar.bz2
pttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.tar.lz
pttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.tar.xz
pttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.tar.zst
pttbbs-c7b8642cf179fea32b2e97a8035ba0a083e83190.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@18 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 85f29642..73e37d75 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.2 2002/03/09 10:34:58 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.3 2002/03/11 11:15:00 in2 Exp $ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -421,7 +421,9 @@ write_request (int sig)
time (&now);
ptime = localtime (&now);
- if (currutmp->pager != 0 &&
+ if (!WATERMODE(WATER_OFO) &&
+ currutmp->mode != 0 &&
+ currutmp->pager != 0 &&
cuser.userlevel != 0 &&
currutmp->msgcount != 0 &&
currutmp->mode != TALK &&