1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 15:33:13 +02:00

Use the SINFO command instead of the old VERSION command.

This commit is contained in:
Peter Powell
2019-03-30 13:41:51 +00:00
committed by P. Powell
parent ae16206f0c
commit 48dbb70ecc
+3 -1
View File
@@ -366,7 +366,9 @@ class InspIRCd3Proto : public IRCDProto
{
UplinkSocket::Message(Me) << "BURST " << Anope::CurTime;
Module *enc = ModuleManager::FindFirstOf(ENCRYPTION);
UplinkSocket::Message(Me) << "VERSION :Anope-" << Anope::Version() << " " << Me->GetName() << " :" << IRCD->GetProtocolName() << " - (" << (enc ? enc->name : "none") << ") -- " << Anope::VersionBuildString();
UplinkSocket::Message(Me) << "SINFO version :Anope-" << Anope::Version() << " " << Me->GetName() << " :" << IRCD->GetProtocolName() << " - (" << (enc ? enc->name : "none") << ") -- " << Anope::VersionBuildString();
UplinkSocket::Message(Me) << "SINFO fullversion :Anope-" << Anope::Version() << " " << Me->GetName() << " :[" << Me->GetSID() << "] " << IRCD->GetProtocolName() << " - (" << (enc ? enc->name : "none") << ") -- " << Anope::VersionBuildString();
UplinkSocket::Message(Me) << "SINFO rawversion :Anope-" << Anope::VersionShort();
}
void SendEOB() anope_override