From e19674d50ad3bf8f6881677e039aac56b62a6981 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 1 Apr 2020 14:32:02 +0100 Subject: Document Module::Prioritize. --- include/modules.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/modules.h b/include/modules.h index e4e439f7c..75bbcb8de 100644 --- a/include/modules.h +++ b/include/modules.h @@ -262,7 +262,7 @@ class CoreExport Module : public classbase, public usecountbase /** Module setup * \exception ModuleException Throwing this class, or any class derived from ModuleException, causes loading of the module to abort. */ - virtual void init() {} + virtual void init() { } /** Clean up prior to destruction * If you override, you must call this AFTER your module's cleanup @@ -274,9 +274,8 @@ class CoreExport Module : public classbase, public usecountbase */ virtual ~Module(); - virtual void Prioritize() - { - } + /** Called when the hooks provided by a module need to be prioritised. */ + virtual void Prioritize() { } /** This method is called when you should reload module specific configuration: * on boot, on a /REHASH and on module load. -- cgit v1.2.3