summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-08-21 15:16:58 +0100
committerSadie Powell <sadie@witchery.services>2024-08-21 15:38:35 +0100
commit27beb8f8777a9ab8e94408bd63328c0b57934118 (patch)
tree6ac169afc24394d3dd6e3ba981f1c6fde1cb58c9 /src/messages.cpp
parent136680f917b71a4d0210739c3d36942061c85708 (diff)
Improve the CTCP version output.
Diffstat (limited to 'src/messages.cpp')
-rw-r--r--src/messages.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp
index 512da3e95..d906e83d4 100644
--- a/src/messages.cpp
+++ b/src/messages.cpp
@@ -352,7 +352,8 @@ void Privmsg::Run(MessageSource &source, const std::vector<Anope::string> &param
else if (ctcpname.equals_ci("VERSION"))
{
Module *enc = ModuleManager::FindFirstOf(ENCRYPTION);
- IRCD->SendNotice(bi, u->nick, Anope::FormatCTCP("VERSION", Anope::printf("Anope-%s %s :%s - (%s) -- %s", Anope::Version().c_str(), Me->GetName().c_str(), IRCD->GetProtocolName().c_str(), enc ? enc->name.c_str() : "(none)", Anope::VersionBuildString().c_str())));
+ IRCD->SendNotice(bi, u->nick, Anope::FormatCTCP("VERSION", Anope::printf("Anope-%s %s -- %s -- %s", Anope::Version().c_str(),
+ Anope::VersionBuildString().c_str(), IRCD->GetProtocolName().c_str(), enc ? enc->name.c_str() : "(none)")));
}
return;
}