diff options
| author | 2024-08-29 13:50:31 +0100 | |
|---|---|---|
| committer | 2024-08-29 13:50:31 +0100 | |
| commit | 31e3dfddf520ad7fec07162bfa5db74c768af92f (patch) | |
| tree | 68ec8f30383d87a150d82f4934e030227b30ee4e /src | |
| parent | Remove the needless cast of <whowas:maxkeep> in core_whowas. (diff) | |
Fix the missing <nick> field in whowas RPL_WHOISACTUALY.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coremods/core_whowas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_whowas.cpp b/src/coremods/core_whowas.cpp index 6340689bd..9130d4647 100644 --- a/src/coremods/core_whowas.cpp +++ b/src/coremods/core_whowas.cpp @@ -238,7 +238,7 @@ CmdResult CommandWhowas::Handle(User* user, const Params& parameters) user->WriteNumeric(RPL_WHOWASUSER, parameters[0], u->duser, u->dhost, '*', u->real); if (user->HasPrivPermission("users/auspex")) - user->WriteNumeric(RPL_WHOISACTUALLY, INSP_FORMAT("{}@{}", u->GetUser(), u->GetHost()), u->address, "was connecting from"); + user->WriteNumeric(RPL_WHOISACTUALLY, parameters[0], INSP_FORMAT("{}@{}", u->GetUser(), u->GetHost()), u->address, "was connecting from"); const std::string signon = Time::ToString(u->signon); bool hide_server = (!ServerInstance->Config->HideServer.empty() && !user->HasPrivPermission("servers/auspex")); |
