diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 13:23:15 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 13:23:15 +0000 |
commit | 9f936a78301ebc7e42c0879101fe20599285b84c (patch) | |
tree | 2a89ce08e4c98ebf708adaf386739e3cdc8d8d5d /include | |
parent | cce3669a3a6c2011f202795c6333db77009cedd7 (diff) |
Instantiate BanCache in InspIRCd class.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8491 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index ee1a5120a..008179bab 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -232,6 +232,7 @@ DEFINE_HANDLER1(FloodQuitUserHandler, void, User*); /* Forward declaration - required */ class XLineManager; +class BanCacheManager; /** The main class of the irc server. * This class contains instances of all the other classes @@ -401,6 +402,11 @@ class CoreExport InspIRCd : public classbase */ ModuleManager* Modules; + /** BanCacheManager is used to speed up checking of restrictions on connection + * to the IRCd. + */ + BanCacheManager *BanCache; + /** Stats class, holds miscellaneous stats counters */ serverstats* stats; |