summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 467335c2..425406f1 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -359,9 +359,9 @@ write_request(int sig)
{
int i, msgcount;
+#ifdef NOKILLWATERBALL
if( reentrant_write_request ) /* kill again by shmctl */
return;
-#ifdef NOKILLWATERBALL
reentrant_write_request = 1;
#endif
if (WATERMODE(WATER_OFO)) {
@@ -394,7 +394,9 @@ write_request(int sig)
currutmp->chatid[0] = 2;
currstat = HIT;
+#ifdef NOKILLWATERBALL
currutmp->wbtime = 0;
+#endif
if( (msgcount = currutmp->msgcount) > 0 ){
for( i = 0 ; i < msgcount ; ++i ){
bell();