diff options
| author | 2022-10-22 20:45:22 +0100 | |
|---|---|---|
| committer | 2022-10-23 14:51:33 +0100 | |
| commit | 859088dac5b937208c7aff7fd3976bbc63329281 (patch) | |
| tree | 79b297813d7f2cb13e6967486340912ad72d0477 /include/modules.h | |
| parent | Avoid spamming opers with notices when a SQL log provider is down. (diff) | |
More const correctness.
Diffstat (limited to 'include/modules.h')
| -rw-r--r-- | include/modules.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index f9034578d..dfb3a70e5 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1059,7 +1059,7 @@ public: * @param mod Module to attach events to * @param sz The size of the implementation array */ - void Attach(Implementation* i, Module* mod, size_t sz); + void Attach(const Implementation* i, Module* mod, size_t sz); /** Attach all events to a module (used on module load) * @param mod Module to attach to all events @@ -1082,7 +1082,7 @@ public: * @param mod Module to detach events from * @param sz The size of the implementation array */ - void Detach(Implementation* i, Module* mod, size_t sz); + void Detach(const Implementation* i, Module* mod, size_t sz); /** Detach all events from a module (used on unload) * @param mod Module to detach from |
