From 57e80951d9f14f4d53f9f93e1a670618f4eea59b Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 28 Jul 2014 04:15:09 +0200 Subject: [PATCH] sorta document the changes in config.php --- inc/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 26346072..23e23a97 100644 --- a/inc/config.php +++ b/inc/config.php @@ -372,7 +372,8 @@ // 'message' => 'Go away, spammer.' // ); - // Example: Same as above, but issuing a 3-hour ban instead of just reject the post. + // Example: Same as above, but issuing a 3-hour ban instead of just reject the post and + // add an IP note with the message body // $config['filters'][] = array( // 'condition' => array( // 'name' => '/^surgeon$/', @@ -380,6 +381,7 @@ // 'OP' => false // ), // 'action' => 'ban', + // 'add_note' => true, // 'expires' => 60 * 60 * 3, // 3 hours // 'reason' => 'Go away, spammer.' // );