diff options
author | Adam <Adam@anope.org> | 2013-08-17 14:05:01 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-17 14:05:01 -0400 |
commit | ead4aa7ed98b929482ba81774569a22a95e4bb04 (patch) | |
tree | 0a7908f0801ab64d74a49712161bceb27c98ef92 /src/messages.cpp | |
parent | 65911dd1be20dc29f4e98561a85cdb1d66197699 (diff) |
Fix 318 raw being sent for uids on ts6 ircds
Diffstat (limited to 'src/messages.cpp')
-rw-r--r-- | src/messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index b5332f716..67f669a43 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -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()); |