diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-08-11 20:41:04 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-08-11 20:41:04 +0000 |
commit | 283563287be02e32ef8a4cad526855faf327f24e (patch) | |
tree | 452d8d417c3dc40f6b7a12c1992b5ce427fced54 /include/modules.h | |
parent | f07b96003452b042301529467d3e682f11f48434 (diff) |
Fix module prioritization when a module asks to be after spanningtree, which asks to be last
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11502 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index d26741a20..a539f3185 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1651,6 +1651,11 @@ class CoreExport ModuleManager : public classbase */ std::map<std::string, std::pair<ircd_module*, Module*> > Modules; + enum { + PRIO_STATE_FIRST, + PRIO_STATE_AGAIN, + PRIO_STATE_LAST + } prioritizationState; public: /** Event handler hooks. |