summaryrefslogtreecommitdiff
path: root/src/modules/m_conn_waitpong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_conn_waitpong.cpp')
-rw-r--r--src/modules/m_conn_waitpong.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp
index f67021af5..804026adb 100644
--- a/src/modules/m_conn_waitpong.cpp
+++ b/src/modules/m_conn_waitpong.cpp
@@ -21,7 +21,7 @@ char* RandString(unsigned int length)
out[length] = '\0';
- delete tmp;
+ DELETE(tmp);
return (char*)out;
}
@@ -56,7 +56,7 @@ class ModuleWaitPong : public Module
if(Conf->GetError() == CONF_VALUE_NOT_FOUND)
killonbadreply = true;
- delete Conf;
+ DELETE(Conf);
}
void Implements(char* List)
@@ -86,7 +86,7 @@ class ModuleWaitPong : public Module
{
if(strcmp(pingrpl, parameters[0]) == 0)
{
- delete pingrpl;
+ DELETE(pingrpl);
user->Shrink("waitpong_pingstr");
return 1;
}
@@ -113,7 +113,7 @@ class ModuleWaitPong : public Module
if(pingrpl)
{
- delete pingrpl;
+ DELETE(pingrpl);
user->Shrink("waitpong_pingstr");
}
}
@@ -127,7 +127,7 @@ class ModuleWaitPong : public Module
if(pingrpl)
{
- delete pingrpl;
+ DELETE(pingrpl);
user->Shrink("waitpong_pingstr");
}
}