diff options
author | k4be <k4be@pirc.pl> | 2022-01-08 14:13:30 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-09 18:39:09 +0000 |
commit | d4632e528683995093d8cd30f445989cb78ddb5f (patch) | |
tree | 76fd01ff3c7dcf6060589b0963325724fb5d2efb | |
parent | c38106211ce6d20d17c2c49286a2c0b5f3a6229b (diff) |
Add a "Network Service" (RPL_WHOISOPERATOR) line to WHOIS replies
-rw-r--r-- | src/messages.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index 890af830f..0d0882b2a 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -494,6 +494,7 @@ void Whois::Run(MessageSource &source, const std::vector<Anope::string> ¶ms) 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 |