1.1 --- a/public_html/docs/history Thu Oct 29 13:01:33 2009 +0100
1.2 +++ b/public_html/docs/history Thu Oct 29 14:47:18 2009 +0100
1.3 @@ -3,6 +3,7 @@
1.4 Oct ??, 2009 (1.6.1)
1.5 ------------
1.6
1.7 +- The comment speed limit was being ignored (bug #0001003) [Dirk]
1.8 - Added an icon to make the plugin update option somewhat more obvious [Dirk]
1.9 (icon "stock_update-data.png" taken from Gnome 2.18 icon theme set by
1.10 AMAZIGH Aneglus, released under the GPL)
2.1 --- a/system/lib-comment.php Thu Oct 29 13:01:33 2009 +0100
2.2 +++ b/system/lib-comment.php Thu Oct 29 14:47:18 2009 +0100
2.3 @@ -779,7 +779,7 @@
2.4 return $retval;
2.5 } else {
2.6 COM_clearSpeedlimit ($_CONF['commentspeedlimit'], 'comment');
2.7 -
2.8 +
2.9 $last = 0;
2.10 if ($mode != 'edit' && $mode != 'editsubmission'
2.11 && $mode != $LANG03[28] && $mode != $LANG03[34]) {
2.12 @@ -1117,6 +1117,7 @@
2.13 $pid = 0;
2.14 }
2.15
2.16 + COM_updateSpeedlimit('comment');
2.17 if (empty($title) || empty($comment)) {
2.18 COM_errorLog("CMT_saveComment: $uid from {$_SERVER['REMOTE_ADDR']} tried "
2.19 . 'to submit a comment with invalid $title and/or $comment.');