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_shun.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_shun.cpp') 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); } -- cgit v1.3.1-10-gc9f91