summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-06 15:33:16 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-06 15:33:16 +0800
commitd8f00661e5f3eb46ec9f791506916ae5de983ca9 (patch)
tree385f684f7f17cf87e2adc74f84cff86d290105ce /util
parentc4d299c2f1f0ce221b68d37bf85c375a56835d47 (diff)
downloadpttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.tar
pttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.tar.gz
pttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.tar.bz2
pttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.tar.lz
pttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.tar.xz
pttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.tar.zst
pttbbs-d8f00661e5f3eb46ec9f791506916ae5de983ca9.zip
sleep 2 secs between each mail if mail to .bbs (or breaks bbsmail)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/waterball.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/waterball.pl b/util/waterball.pl
index d3fcc343..f76d32f9 100644
--- a/util/waterball.pl
+++ b/util/waterball.pl
@@ -40,6 +40,7 @@ foreach $fndes ( <$JOBSPOOL/water.des.*> ){ #des: userid, mailto, outmode
subject => "和 $who 的水球記錄",
body => $content,
}) ){ print "fault\n"; }
+ sleep(2) if( $mailto =~ /\.bbs/ );
}
unlink $fnsrc;
unlink $fndes;