mirror of
https://github.com/anope/anope.git
synced 2026-06-27 04:26:38 +02:00
Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make
This commit is contained in:
+1
-1
@@ -430,7 +430,7 @@ bool IRCdMessage::OnPrivmsg(const Anope::string &source, const std::vector<Anope
|
||||
}
|
||||
else if (message.substr(0, 9).equals_ci("\1VERSION\1"))
|
||||
{
|
||||
ircdproto->SendCTCP(bi, u->nick, "VERSION 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->SendCTCP(bi, u->nick, "VERSION 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());
|
||||
}
|
||||
}
|
||||
else if (bi == ChanServ)
|
||||
|
||||
Reference in New Issue
Block a user