summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-19 20:12:22 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-19 20:12:22 +0000
commitbe10eab6ce68d4f06cc7b14bc2fca35e005ce6b5 (patch)
treec22583006f80a8cb86bb15489c196832476cd28a /include/mode.h
parentaa7cc18468f4b16bf79cd1788cad0cbf0d926817 (diff)
Maintain refcount of Module objects to complain about leaked pointers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11925 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mode.h b/include/mode.h
index b63e5e6a9..76eeaba17 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -157,7 +157,7 @@ class CoreExport ModeHandler : public classbase
public:
/** Module that created this mode. NULL for core modes */
- Module* const creator;
+ ModuleRef creator;
/** Long-form name
*/
const std::string name;
@@ -370,7 +370,7 @@ class CoreExport ModeWatcher : public classbase
ModeType m_type;
public:
- Module* const creator;
+ ModuleRef creator;
/**
* The constructor initializes the mode and the mode type
*/