X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/08d75d97023438c8cc412a249ffc40e0592e0b7a..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_info.c diff --git a/modules/m_info.c b/modules/m_info.c index 470ded5a..03671b43 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -29,7 +29,7 @@ #include "channel.h" #include "client.h" #include "common.h" -#include "irc_string.h" +#include "match.h" #include "ircd.h" #include "hook.h" #include "numeric.h" @@ -446,6 +446,18 @@ static struct InfoStruct info_table[] = { &ConfigFileEntry.stats_y_oper_only, "STATS Y is only shown to operators", }, + { + "throttle_count", + OUTPUT_DECIMAL, + &ConfigFileEntry.throttle_count, + "Connection throttle threshold", + }, + { + "throttle_duration", + OUTPUT_DECIMAL, + &ConfigFileEntry.throttle_duration, + "Connection throttle duration", + }, { "tkline_expire_notices", OUTPUT_BOOLEAN,