config.php: limit the number of dicerolls

This commit is contained in:
Zankaria 2024-10-12 16:20:01 +02:00 committed by Zankaria
parent b8c53fbbcd
commit ceccbfc5b7

View File

@ -712,6 +712,9 @@
);
*/
// Maximum number inline of dice rolls per markup.
$config['max_roll_count'] = 50;
// Allow dice rolling: an email field of the form "dice XdY+/-Z" will result in X Y-sided dice rolled and summed,
// with the modifier Z added, with the result displayed at the top of the post body.
$config['allow_roll'] = false;