From 0d86cc3dd66c4daf8d6cf7a1ffb8d306a83aab5a Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 4 Oct 2006 16:30:02 +0000 Subject: Fix for bug#159 reported by SiliconAI (unloading causes crash, it neglects to remove its timer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5412 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_safelist.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 362988d61..da4635442 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -153,6 +153,7 @@ class ModuleSafeList : public Module virtual ~ModuleSafeList() { + ServerInstance->Timers->DelTimer(MyTimer); } virtual Version GetVersion() -- cgit v1.2.3