]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Move LogHeader to LogStream.
[user/henk/code/inspircd.git] / include / modules.h
index 0b91e6048441bf0572005fdf881600101efb98ce..72ee2683d29a56b882a50e578afea40f95db0720 100644 (file)
@@ -391,6 +391,11 @@ class CoreExport Module : public classbase, public usecountbase
         */
        DLLManager* ModuleDLLManager;
 
+       /** If true, this module will be unloaded soon, further unload attempts will fail
+        * Value is used by the ModuleManager internally, you should not modify it
+        */
+       bool dying;
+
        /** Default constructor.
         * Creates a module class. Don't do any type of hook registration or checks
         * for other modules here; do that in init().