summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 3842b01e6..d2ecbf369 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1293,7 +1293,7 @@ bool ModeParser::ProcessModuleUmode(char umode, userrec* source, void* dest, boo
log(DEBUG,"No module claims umode %c",umode);
if (faked)
{
- delete s2;
+ DELETE(s2);
source = NULL;
}
return false;
@@ -1302,7 +1302,7 @@ bool ModeParser::ProcessModuleUmode(char umode, userrec* source, void* dest, boo
{
if (faked)
{
- delete s2;
+ DELETE(s2);
source = NULL;
}
return false;