diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-22 18:02:09 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-22 18:02:09 +0000 |
commit | a9754ce49bf616c1d18556e19dd213d9ed54fcfc (patch) | |
tree | a91e0724c971415c9733bee2c99bec250ae3c42b /include | |
parent | f5c631ef8641db6455bed23c02e5a39f63f7d6d0 (diff) |
Allow static initialization of dynamic_reference objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12648 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h index 5a9cb90e2..d889d734d 100644 --- a/include/modules.h +++ b/include/modules.h @@ -287,6 +287,7 @@ class CoreExport dynamic_reference_base : public interfacebase void SetProvider(const std::string& newname); void lookup(); operator bool(); + static void reset_all(); }; template<typename T> @@ -1492,9 +1493,6 @@ class CoreExport ModuleManager /** List of data services keyed by name */ std::multimap<std::string, ServiceProvider*> DataProviders; - /** List of all dynamic references that are currently active */ - std::vector<dynamic_reference_base*> ActiveDynrefs; - /** Simple, bog-standard, boring constructor. */ ModuleManager(); |