summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 21:25:40 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 21:25:40 +0000
commit2d768eb325fc7665093faedf62e08dd5f98cc5f8 (patch)
tree9345b8c524d6c65f2c2a2f92e0ce5bb70194b822 /src/module.cpp
parentf0fe5427ff22c005220b0189ed745a38314dc21b (diff)
Modules now delete themselves instead of letting the core do it (just incase one of them has used a custom delete operator)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/module.cpp')
-rw-r--r--src/module.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/module.cpp b/src/module.cpp
index d0929bfdd..de72c7f64 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -69,12 +69,6 @@ Module::~Module()
remove(this->filename.c_str());
- if (this->handle)
- {
- if ((ano_modclose(this->handle)) != 0)
- alog("%s", ano_moderr());
- }
-
int idx;
CommandHash *current = NULL;
EvtHookHash *ehcurrent = NULL;