diff options
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | src/modules.cpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/modules.h b/include/modules.h index 62078bbfa..41dec1194 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1124,7 +1124,7 @@ class CoreExport ModuleManager : public fakederef<ModuleManager> * SetPriority method for this, where you may specify other modules to * be prioritized against. */ - bool SetPriority(Module* mod, Priority s); + void SetPriority(Module* mod, Priority s); /** Attach an event to a module. * You may later detatch the event with ModuleManager::Detach(). diff --git a/src/modules.cpp b/src/modules.cpp index 78e80d63c..e1fb605c0 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -199,12 +199,10 @@ void ModuleManager::DetachAll(Module* mod) Detach((Implementation)n, mod); } -bool ModuleManager::SetPriority(Module* mod, Priority s) +void ModuleManager::SetPriority(Module* mod, Priority s) { for (size_t n = 0; n != I_END; ++n) SetPriority(mod, (Implementation)n, s); - - return true; } bool ModuleManager::SetPriority(Module* mod, Implementation i, Priority s, Module* which) |