summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/modules.h2
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) {