]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Force heap allocation of refcountbase, create usecountbase for non-allocation referen...
[user/henk/code/inspircd.git] / include / modules.h
index 8bda9a725efc10789e6d4fa8eac5c82c8bac2deb..26c4ef46658ef4407347498b8efd20dd0f23654e 100644 (file)
@@ -298,10 +298,8 @@ enum Implementation
  *  its methods will be called when irc server events occur. class inherited from module must be
  *  instantiated by the ModuleFactory class (see relevent section) for the module to be initialised.
  */
-class CoreExport Module : public classbase
+class CoreExport Module : public classbase, public usecountbase
 {
-       unsigned int refcount;
-       friend class reference_base;
  public:
        /** File that this module was loaded from
         */