summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-28 14:26:42 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-28 14:26:42 +0000
commit10a53cc5001e88885b4585582775d4ddd3a4cbde (patch)
tree3908c188a6eab801dcfb4e7a99e80803f2986cbf
parent73598f496d9f9cbcc886a87cc96f42e25c8ce531 (diff)
Fix misspelling
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12572 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_permchannels.cpp2
-rw-r--r--src/modules/m_testnet.cpp1
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