]> jfr.im git - solanum.git/blobdiff - modules/m_info.c
Add ratelimit for high-bandwidth commands.
[solanum.git] / modules / m_info.c
index 5ee13253caabd929ae1d6078af17ff919f6725b8..4facb980dedaa3e953a4c324a7fb6064dd048e70 100644 (file)
@@ -518,6 +518,12 @@ static struct InfoStruct info_table[] = {
                &ConfigFileEntry.use_propagated_bans,
                "KLINE sets fully propagated bans"
        },
+       {
+               "max_ratelimit_tokens",
+               OUTPUT_DECIMAL,
+               &ConfigFileEntry.max_ratelimit_tokens,
+               "The maximum number of tokens that can be accumulated for executing rate-limited commands",
+       },
        {
                "default_split_server_count",
                OUTPUT_DECIMAL,