summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 147536e0..4a2808bd 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -358,6 +358,8 @@ void
write_request(int sig)
{
int i;
+ if( !currutmp->msgcount ) /* dirty hack */
+ return;
#ifdef NOKILLWATERBALL
reentrant_write_request = 1;
#endif