summaryrefslogtreecommitdiff
path: root/src/cmd_quit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_quit.cpp')
-rw-r--r--src/cmd_quit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp
index ff559ee7e..7c0b602e9 100644
--- a/src/cmd_quit.cpp
+++ b/src/cmd_quit.cpp
@@ -117,5 +117,5 @@ void cmd_quit::Handle (char **parameters, int pcnt, userrec *user)
}
if (user->fd > -1)
fd_ref_table[user->fd] = NULL;
- delete user;
+ DELETE(user);
}