]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/ctables.h
Fix null dereference caused by tracking dummy
[user/henk/code/inspircd.git] / include / ctables.h
index c0c094e6f5562dc33c4450fd929fa7480123a2b1..0cf4c50d2c65d27a93e96f1ce2708ae5c1308e91 100644 (file)
@@ -90,7 +90,7 @@ class CoreExport Command : public Extensible
  public:
        /** Command name
        */
-       std::string command;
+       const std::string command;
 
        /** Creator module - never NULL */
        Module* const creator;
@@ -211,9 +211,7 @@ class CoreExport Command : public Extensible
                return works_before_reg;
        }
 
-       virtual ~Command()
-       {
-       }
+       virtual ~Command();
 };
 
 /** A hash of commands used by the core