From 9f936a78301ebc7e42c0879101fe20599285b84c Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 4 Nov 2007 13:23:15 +0000 Subject: Instantiate BanCache in InspIRCd class. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8491 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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; -- cgit v1.2.3