1.1 --- a/system/lib-comment.php Mon Sep 14 19:17:22 2009 +0200
1.2 +++ b/system/lib-comment.php Thu Oct 29 14:47:18 2009 +0100
1.3 @@ -779,7 +779,7 @@
1.4 return $retval;
1.5 } else {
1.6 COM_clearSpeedlimit ($_CONF['commentspeedlimit'], 'comment');
1.7 -
1.8 +
1.9 $last = 0;
1.10 if ($mode != 'edit' && $mode != 'editsubmission'
1.11 && $mode != $LANG03[28] && $mode != $LANG03[34]) {
1.12 @@ -1117,6 +1117,7 @@
1.13 $pid = 0;
1.14 }
1.15
1.16 + COM_updateSpeedlimit('comment');
1.17 if (empty($title) || empty($comment)) {
1.18 COM_errorLog("CMT_saveComment: $uid from {$_SERVER['REMOTE_ADDR']} tried "
1.19 . 'to submit a comment with invalid $title and/or $comment.');