]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
OnRawMode event makes a return: This was removed post 1.0 because it was incredibly...
[user/henk/code/inspircd.git] / include / inspircd.h
index ee1a5120a4b1461e67c6b7e8100484a149906619..12030677c221e16e69526eeff36073baaf80549e 100644 (file)
  */
 #define ETIREDHAMSTERS EAGAIN
 
-/** Delete a pointer, and NULL its value
- */
-template<typename T> inline void DELETE(T* x)
-{
-       delete x;
-       x = NULL;
-}
-
 /** Template function to convert any input type to std::string
  */
 template<typename T> inline std::string ConvNumeric(const T &in)
@@ -232,6 +224,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 +394,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;