summaryrefslogtreecommitdiff
path: root/src/modules/m_invisible.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:24:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:24:40 +0000
commit12b9855339a3bbd05cc0636588ea68bf8db390f5 (patch)
treedd0ad2fc31061f3b3e150291f0583a3e304fc9f6 /src/modules/m_invisible.cpp
parent38d5fd9b40e126bfde51022dac8d5a8a1ff787a9 (diff)
Honking huge commit. Removal of DELETE() template that never worked right anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_invisible.cpp')
-rw-r--r--src/modules/m_invisible.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index 55a973f2e..2986f43c6 100644
--- a/src/modules/m_invisible.cpp
+++ b/src/modules/m_invisible.cpp
@@ -175,9 +175,9 @@ class ModuleInvisible : public Module
{
ServerInstance->Modes->DelMode(qm);
ServerInstance->Modes->DelModeWatcher(ido);
- DELETE(qm);
- DELETE(ido);
- DELETE(conf);
+ delete qm;
+ delete ido;
+ delete conf;
}
virtual Version GetVersion()
@@ -203,7 +203,7 @@ class ModuleInvisible : public Module
virtual void OnRehash(User* user, const std::string &parameter)
{
- DELETE(conf);
+ delete conf;
conf = new ConfigReader(ServerInstance);
}