summaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-20 01:05:16 -0500
committerAdam <Adam@anope.org>2011-02-20 01:05:16 -0500
commitc83b2b73d7c5f264dedb67b878d116b5b10a4742 (patch)
tree407251a2bb3bf738194b6ec7654b0872b6bab1d5 /src/base.cpp
parentdfbb5264fac5b418da536cc968aed4bf5cde8b76 (diff)
Much more work on the live SQL. Should work pretty decently now under heavy load.
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base.cpp b/src/base.cpp
index d0eff0beb..537770bcd 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -1,4 +1,5 @@
#include "services.h"
+#include "modules.h"
Base::Base()
{
@@ -10,6 +11,8 @@ Base::~Base()
{
(*it)->Invalidate();
}
+
+ FOREACH_MOD(I_OnObjectDestroy, OnObjectDestroy(this));
}
void Base::AddReference(dynamic_reference_base *r)