X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/08a5f1f9485a5f34039e66cec5419c205881bd7a..d1275a8fd6d1fb76ef0eb67e2be48f5f7208202e:/modules/m_info.c?ds=sidebyside diff --git a/modules/m_info.c b/modules/m_info.c index 470ded5..03671b4 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,