aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar w00t2007-08-28 19:06:15 +0000
committerGravatar w00t2007-08-28 19:06:15 +0000
commit2ccbc50453f3e70397299b83ba28d0289535b947 (patch)
tree0d4fbce97f3dd55fd64f9c9e210e2f4f374777ab /src/modules.cpp
parentFirst step on the road of module loader rewriting. So far this only really re... (diff)
(Om, this commit is safe): remove references to DELETE() macro, revert back to delete. Nobody used this most of the time, it had no real purpose, etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7972 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 08bbcd513..7c01fcab6 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -224,7 +224,7 @@ void InspIRCd::EraseModule(int j)
{
if (v1 == j)
{
- DELETE(*m);
+ delete *m;
modules.erase(m);
modules.push_back(NULL);
break;
@@ -916,9 +916,9 @@ ConfigReader::ConfigReader(InspIRCd* Instance) : ServerInstance(Instance)
ConfigReader::~ConfigReader()
{
if (this->errorlog)
- DELETE(this->errorlog);
+ delete this->errorlog;
if(this->privatehash)
- DELETE(this->data);
+ delete this->data;
}