]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/bancache.h
Move command-line items to CommandLineConf
[user/henk/code/inspircd.git] / include / bancache.h
index c9c469e4f8fa4a81bdac25dea41679b5ef7e210a..f143d51ebf7fbe6150d2e6d87cbd78d67fc57d14 100644 (file)
@@ -21,7 +21,7 @@
  * entries expire every few hours, which is a reasonable expiry for any reasonable
  * sized network.
  */
-class CoreExport BanCacheHit : public classbase
+class CoreExport BanCacheHit
 {
  public:
        /** Type of cached ban
@@ -66,7 +66,7 @@ typedef nspace::hash_map<std::string, BanCacheHit*, nspace::hash<std::string> >
 
 /** A manager for ban cache, which allocates and deallocates and checks cached bans.
  */
-class CoreExport BanCacheManager : public classbase
+class CoreExport BanCacheManager
 {
  private:
        BanCacheHash* BanHash;
@@ -94,11 +94,7 @@ class CoreExport BanCacheManager : public classbase
        {
                this->BanHash = new BanCacheHash();
        }
-       ~BanCacheManager()
-       {
-               delete BanHash;
-       }
-
+       ~BanCacheManager();
        void RehashCache();
 };