diff options
author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-26 20:01:26 +0000 |
---|---|---|
committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-26 20:01:26 +0000 |
commit | 6b5786aa37f7197bde67a7faf7bf70001c50f26d (patch) | |
tree | c1544d2bfd793d20db6ab8edb16821ae378318cc /src/module.cpp | |
parent | dc8f7923f4c9cd685a338072bcc2bb351bf575d9 (diff) |
Changed module callbacks to use new Timer API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.cpp b/src/module.cpp index 41dfab0b0..463a083c7 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -66,8 +66,8 @@ Module::~Module() Command *c; - /* Kill any active callbacks this module has */ - moduleCallBackPrepForUnload(this->name.c_str()); + /* Kill any active timers this module has */ + ModuleManager::ClearTimers(this); /** * ok, im going to walk every hash looking for commands we own, now, not exactly elegant or efficiant :) |