From: danieldg Date: Tue, 23 Feb 2010 05:53:08 +0000 (+0000) Subject: Add a short message at the top of permchannel DB, and ensure config format is compat X-Git-Tag: v2.0.23~1009 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=fbb1ebd08b6e4f3322da57884d6c90447bd21460;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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\n", f); // Now, let's write. for (chan_hash::const_iterator i = ServerInstance->chanlist->begin(); i != ServerInstance->chanlist->end(); i++) {