From dcede2e175de3b2ef4dbc4bf8f980eba11065785 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 746fcad6..ee1b9086 100644 --- a/inc/config.php +++ b/inc/config.php @@ -681,6 +681,9 @@ // with the modifier Z added, with the result displayed at the top of the post body. $config['allow_roll'] = false; + // Maximum number of dice rolls per post. + $config['max_roll_count'] = 24; + // Use semantic URLs for threads, like /b/res/12345/daily-programming-thread.html $config['slugify'] = false;