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_cban.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_cban.cpp')
-rw-r--r-- | src/modules/m_cban.cpp | 1 |
1 files changed, 1 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); } |