return true;
}
- stream << "# This file is automatically generated by the filter module. Any changes will be overwritten." << std::endl
+ stream
+ << "# This file was automatically generated by the " << INSPIRCD_VERSION << " filter module on " << InspIRCd::TimeString(ServerInstance->Time()) << "." << std::endl
+ << "# Any changes to this file will be automatically overwritten." << std::endl
<< "# If you want to convert this to a normal config file you *MUST* remove the generated=\"yes\" keys!" << std::endl
<< std::endl
<< "<config format=\"xml\">" << std::endl;
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();