From cb14d57cfb9b5d4c194090ef50bcdbba5acfc006 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 12 Jul 2008 11:01:45 +0000 Subject: Delete all XLines when destroying module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9976 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cban.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_cban.cpp') 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); } -- cgit v1.2.3