summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-11 20:41:04 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-11 20:41:04 +0000
commit283563287be02e32ef8a4cad526855faf327f24e (patch)
tree452d8d417c3dc40f6b7a12c1992b5ce427fced54 /include
parentf07b96003452b042301529467d3e682f11f48434 (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')
-rw-r--r--include/modules.h5
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.