1
0
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:
Adam
2013-08-17 14:05:01 -04:00
parent 65911dd1be
commit ead4aa7ed9
+1 -1
View File
@@ -472,7 +472,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(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());