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:
+1
-1
@@ -178,7 +178,7 @@ class Command
|
||||
this->root_help = NULL;
|
||||
}
|
||||
|
||||
~Command()
|
||||
virtual ~Command()
|
||||
{
|
||||
this->has_priv = NULL;
|
||||
if (this->mod_name) {
|
||||
|
||||
Reference in New Issue
Block a user