1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 06:53:12 +02:00

Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make

This commit is contained in:
DukePyrolator
2011-03-13 03:42:30 -04:00
committed by Adam
parent 15a833283b
commit 3fbf39b25d
14 changed files with 71 additions and 61 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ bool OnTime(const Anope::string &source, const std::vector<Anope::string> &)
bool OnVersion(const Anope::string &source, const std::vector<Anope::string> &)
{
if (!source.empty())
ircdproto->SendNumeric(Config->ServerName, 351, source, "Anope-%s %s :%s -(%s) -- %s", Anope::Version().c_str(), Config->ServerName.c_str(), ircd->name, Config->EncModuleList.begin()->c_str(), Anope::Build().c_str());
ircdproto->SendNumeric(Config->ServerName, 351, source, "Anope-%s %s :%s -(%s) -- %s", Anope::Version().c_str(), Config->ServerName.c_str(), ircd->name, Config->EncModuleList.begin()->c_str(), Anope::VersionBuildString().c_str());
return true;
}