diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-12 11:01:45 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-12 11:01:45 +0000 |
commit | cb14d57cfb9b5d4c194090ef50bcdbba5acfc006 (patch) | |
tree | 3fc1d00ee336cc55373a1b2947ff3f3091d74fce /src/modules/m_shun.cpp | |
parent | 8f0b1082d8eb9927ab2fdb8e00328df69d198c9a (diff) |
Delete all XLines when destroying module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9976 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r-- | src/modules/m_shun.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |