diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-04 16:30:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-04 16:30:02 +0000 |
commit | 0d86cc3dd66c4daf8d6cf7a1ffb8d306a83aab5a (patch) | |
tree | a1b278628d862fd3d63c177b192ead1688135bee | |
parent | d8e36d0cf116a3d2b87719c601d1057f7452e38b (diff) |
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
-rw-r--r-- | src/modules/m_safelist.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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() |