summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-03-30 13:41:51 +0000
committerP. Powell <petpow@saberuk.com>2019-09-23 13:23:02 +0100
commit48dbb70ecc8fc9089030e28b07dadf0a95c54789 (patch)
tree8715d1a57087f4d348c628043efa324ee4879a50
parentae16206f0cb45a74e088a5f220ca0a81bdc6c539 (diff)
Use the SINFO command instead of the old VERSION command.
-rw-r--r--modules/protocol/inspircd3.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd3.cpp
index 872e0a249..15153bfad 100644
--- a/modules/protocol/inspircd3.cpp
+++ b/modules/protocol/inspircd3.cpp
@@ -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