summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_cban.cpp1
-rw-r--r--src/modules/m_shun.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp
index 8c4460d76..26ae7be0d 100644
--- a/src/modules/m_cban.cpp
+++ b/src/modules/m_cban.cpp
@@ -169,6 +169,7 @@ class ModuleCBan : public Module
virtual ~ModuleCBan()
{
+ ServerInstance->XLines->DelAll("CBAN");
ServerInstance->XLines->UnregisterFactory(f);
}
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index 5399f996c..bdf990313 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -161,6 +161,7 @@ class ModuleShun : public Module
virtual ~ModuleShun()
{
+ ServerInstance->XLines->DelAll("SHUN");
ServerInstance->XLines->UnregisterFactory(f);
}