diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_permchannels.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_testnet.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 4fbc8338b..d4d808439 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -42,7 +42,7 @@ static bool WriteDatabase() return false; } - fputs("# Permchannels DB\n# This file is autogenerated; any changes will be overwritten!\n<config format=\"comapt\">\n", f); + fputs("# Permchannels DB\n# This file is autogenerated; any changes will be overwritten!\n<config format=\"compat\">\n", f); // Now, let's write. for (chan_hash::const_iterator i = ServerInstance->chanlist->begin(); i != ServerInstance->chanlist->end(); i++) { diff --git a/src/modules/m_testnet.cpp b/src/modules/m_testnet.cpp index 2f514cf0b..5951587b3 100644 --- a/src/modules/m_testnet.cpp +++ b/src/modules/m_testnet.cpp @@ -18,6 +18,7 @@ struct vtbase { virtual void isok(const char* name, int impl, Module* basemod, std::vector<std::string>& allmods) = 0; + virtual ~vtbase() {} }; template<typename T> struct vtable : public vtbase |