From ceccbfc5b79cdc0851d48877301aed167ded4083 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 12 Oct 2024 16:20:01 +0200 Subject: [PATCH] config.php: limit the number of dicerolls --- inc/config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/config.php b/inc/config.php index fbca7447..2e14555d 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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;