]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_permchannels.cpp
Send HALFOP= line in CAPAB CAPABILITIES for 1201 compat (anope relies on this)
[user/henk/code/inspircd.git] / src / modules / m_permchannels.cpp
index 3b8e5e43c3c6a902fcc964c2631d920189f67fb7..d4d80843971910c921fca1fdbb9b76be837b6b52 100644 (file)
@@ -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=\"compat\">\n", f);
        // Now, let's write.
        for (chan_hash::const_iterator i = ServerInstance->chanlist->begin(); i != ServerInstance->chanlist->end(); i++)
        {