summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
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 5b747c7e3..a8ff6f7a7 100644
--- a/src/messages.cpp
+++ b/src/messages.cpp
@@ -1,6 +1,6 @@
/* Common message handlers
*
- * (C) 2003-2021 Anope Team
+ * (C) 2003-2022 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -494,6 +494,7 @@ void Whois::Run(MessageSource &source, const std::vector<Anope::string> &params,
IRCD->SendNumeric(312, source.GetSource(), "%s %s :%s", u->nick.c_str(), Me->GetName().c_str(), Config->GetBlock("serverinfo")->Get<const Anope::string>("description").c_str());
if (bi)
IRCD->SendNumeric(317, source.GetSource(), "%s %ld %ld :seconds idle, signon time", bi->nick.c_str(), static_cast<long>(Anope::CurTime - bi->lastmsg), static_cast<long>(bi->signon));
+ IRCD->SendNumeric(313, source.GetSource(), "%s :is a Network Service", u->nick.c_str());
IRCD->SendNumeric(318, source.GetSource(), "%s :End of /WHOIS list.", u->nick.c_str());
}
else