diff options
| author | 2021-03-21 01:25:33 +0000 | |
|---|---|---|
| committer | 2021-03-21 01:25:33 +0000 | |
| commit | 7cfeb971666b3a6709fe61bd01478697e6433f50 (patch) | |
| tree | 87b75b022a6e156c37e5bff96cc40c46b20ac666 /src/modules/m_permchannels.cpp | |
| parent | Add an <include> option to allow certain config files to not exist. (diff) | |
| download | inspircd++-7cfeb971666b3a6709fe61bd01478697e6433f50.tar.gz inspircd++-7cfeb971666b3a6709fe61bd01478697e6433f50.tar.bz2 inspircd++-7cfeb971666b3a6709fe61bd01478697e6433f50.zip | |
Improve the header messages of the filter and permchannels modules.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
| -rw-r--r-- | src/modules/m_permchannels.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index fdc75ec34..0651f5cdc 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -77,7 +77,10 @@ static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_list return false; } - stream << "# This file is automatically generated by m_permchannels. Any changes will be overwritten." << std::endl + stream + << "# This file was automatically generated by the " << INSPIRCD_VERSION << " permchannels module on " << InspIRCd::TimeString(ServerInstance->Time()) << "." << std::endl + << "# Any changes to this file will be automatically overwritten." << std::endl + << std::endl << "<config format=\"xml\">" << std::endl; const chan_hash& chans = ServerInstance->GetChans(); |
