From 106043620278abc0755377544cfe012c84de4abc Mon Sep 17 00:00:00 2001 From: peavey Date: Mon, 19 Oct 2009 18:32:11 +0000 Subject: Add a setting to allowing the threshold for activation of the penalty system to be set in the configuration, or be disabled by setting it to 0. [jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11922 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 545ff86c2..879aeaa8e 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -724,6 +724,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current) me->softsendqmax = tag->getInt("softsendq", me->softsendqmax); me->hardsendqmax = tag->getInt("hardsendq", me->hardsendqmax); me->recvqmax = tag->getInt("recvq", me->recvqmax); + me->penaltythreshold = tag->getInt("threshold", me->penaltythreshold); me->maxlocal = tag->getInt("localmax", me->maxlocal); me->maxglobal = tag->getInt("globalmax", me->maxglobal); me->port = tag->getInt("port", me->port); -- cgit v1.2.3