aboutsummaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-28 00:32:14 +0200
committerGravatar attilamolnar2013-04-28 00:32:14 +0200
commit8790551dc182cd8804ee7d8ef89ccb31067cc2a4 (patch)
treefa411b244ae8541e49eb126a9d15a7b5a13504db /include/modules.h
parentAdded RMODE command per suggestion #479 (diff)
parentRelease 2.0.12 (diff)
Merge insp20
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index 0b91e6048..72ee2683d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -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().