diff options
| author | 2024-07-06 03:08:37 +0100 | |
|---|---|---|
| committer | 2024-07-06 03:08:37 +0100 | |
| commit | 22cb31590f31589148337f3de20f477c2d5dcdce (patch) | |
| tree | 69849bebbc3fd71a0c4177e1c207803ada62d3c8 /include/modules | |
| parent | Merge branch 'insp4' into master. (diff) | |
| parent | Unregister extbans when the providing module is unloaded. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/extban.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules/extban.h b/include/modules/extban.h index 562c57a83..427e638e3 100644 --- a/include/modules/extban.h +++ b/include/modules/extban.h @@ -206,6 +206,11 @@ protected: { } + ~Base() override + { + SetActive(false); + } + public: /** Canonicalises a value for this extban. * @param text The value to canonicalize. |
