1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

sorta document the changes in config.php

This commit is contained in:
czaks 2014-07-28 04:15:09 +02:00
parent a01f8e9e11
commit 57e80951d9

View File

@ -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.'
// );