1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 01:56:38 +02:00

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
This commit is contained in:
robbeh
2009-02-10 09:17:34 +00:00
parent 28a0108e0b
commit 24dbf4e00c
+1 -1
View File
@@ -178,7 +178,7 @@ class Command
this->root_help = NULL;
}
~Command()
virtual ~Command()
{
this->has_priv = NULL;
if (this->mod_name) {