From 6b5786aa37f7197bde67a7faf7bf70001c50f26d Mon Sep 17 00:00:00 2001 From: adam- Date: Fri, 26 Jun 2009 20:01:26 +0000 Subject: 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 --- src/module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/module.cpp') 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 :) -- cgit