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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user