mirror of
https://github.com/anope/anope.git
synced 2026-07-01 17:06:38 +02:00
Fix 318 raw being sent for uids on ts6 ircds
This commit is contained in:
+1
-1
@@ -472,7 +472,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(318, source.GetSource(), "%s :End of /WHOIS list.", params[0].c_str());
|
||||
IRCD->SendNumeric(318, source.GetSource(), "%s :End of /WHOIS list.", u->nick.c_str());
|
||||
}
|
||||
else
|
||||
IRCD->SendNumeric(401, source.GetSource(), "%s :No such user.", params[0].c_str());
|
||||
|
||||
Reference in New Issue
Block a user