summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-23 05:53:08 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-23 05:53:08 +0000
commitfbb1ebd08b6e4f3322da57884d6c90447bd21460 (patch)
tree6119f67f4ae4d9393fd3251763b276a942df9980
parent7913bcc1bf4c8bdefead93d053fdc65e5b5f0484 (diff)
Add a short message at the top of permchannel DB, and ensure config format is compat
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12544 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_permchannels.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 3b8e5e43c..4fbc8338b 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -42,6 +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);
// Now, let's write.
for (chan_hash::const_iterator i = ServerInstance->chanlist->begin(); i != ServerInstance->chanlist->end(); i++)
{