aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-07-06 03:08:37 +0100
committerGravatar Sadie Powell2024-07-06 03:08:37 +0100
commit22cb31590f31589148337f3de20f477c2d5dcdce (patch)
tree69849bebbc3fd71a0c4177e1c207803ada62d3c8 /include/modules
parentMerge branch 'insp4' into master. (diff)
parentUnregister extbans when the providing module is unloaded. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/extban.h5
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.