diff options
author | robbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-10 09:17:34 +0000 |
---|---|---|
committer | robbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-10 09:17:34 +0000 |
commit | 24dbf4e00c4d284ef7e77cbe6f6d5fd2979c5b01 (patch) | |
tree | d1b06c7e38352ad81af214c5538551790d696f27 | |
parent | 28a0108e0b7ad01492c1c11c208815bedd69a656 (diff) |
Use a virtual destructor for Commands as it has virtual functions
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1969 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | include/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index eb0b8c4a6..ec1fe18fc 100644 --- a/include/modules.h +++ b/include/modules.h @@ -178,7 +178,7 @@ class Command this->root_help = NULL; } - ~Command() + virtual ~Command() { this->has_priv = NULL; if (this->mod_name) { |