summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2011-03-13 03:42:30 -0400
committerAdam <Adam@anope.org>2011-03-13 03:42:30 -0400
commit3fbf39b25d3ab95cab83baf198a24a7d6ad3689b (patch)
tree0b785f887b531ace1649ed019836b04954f3b460 /src/messages.cpp
parent15a833283b0ec501f8c986b269b8360c6aa923f9 (diff)
Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make
Diffstat (limited to 'src/messages.cpp')
-rw-r--r--src/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp
index 8a9f86632..c5ea2f039 100644
--- a/src/messages.cpp
+++ b/src/messages.cpp
@@ -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;
}