diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 6 |
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; } |