summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-02-25 06:20:00 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-02-25 06:20:00 +0000
commit235c4ae95c1cf467ec47514c2226df675494c12c (patch)
tree68fac6b16edd8e0024a7edb9ca1294d59bd62bd3 /src/core
parent54a60add71fc584765b8e575fdc699e93ec2ba84 (diff)
Rewrote part of the Timer and CallBack code for modules to be sane
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
-rw-r--r--src/core/os_defcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_defcon.c b/src/core/os_defcon.c
index c06cf8c62..a3c4c46fa 100644
--- a/src/core/os_defcon.c
+++ b/src/core/os_defcon.c
@@ -86,7 +86,7 @@ class CommandOSDEFCON : public Command
if (timeout)
{
- TimerManager::DelTimer(timeout);
+ delete timeout;
timeout = NULL;
}