summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-31 19:54:18 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-31 19:54:18 +0000
commit7fdd55570ea6269c096e6a3c8eae30c1a1587533 (patch)
treea1da62bdcb175e043493d39003f4fab1dae95f7b /include
parent1cda046fed93adef23eee9e2c21abfdf7c863e34 (diff)
Update connect block matching on rehash to prefer names, show more useful information in /STATS i
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12337 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/users.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h
index c7ed73264..5c3fd9a43 100644
--- a/include/users.h
+++ b/include/users.h
@@ -198,7 +198,7 @@ struct CoreExport ConnectClass : public refcountbase
*/
unsigned int GetPenaltyThreshold()
{
- return (penaltythreshold ? penaltythreshold : 10);
+ return penaltythreshold ? penaltythreshold : (fakelag ? 10 : 20);
}
unsigned int GetCommandRate()
@@ -206,7 +206,7 @@ struct CoreExport ConnectClass : public refcountbase
return commandrate ? commandrate : 1000;
}
- /** Returusn the maximum number of local sessions
+ /** Return the maximum number of local sessions
*/
unsigned long GetMaxLocal()
{