diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-02-26 16:03:00 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-02-26 16:03:00 +0100 |
commit | 1fd6f04e6df789ffd4d57e1535a0918d901c2271 (patch) | |
tree | 8f4175b42c04ae98af3d3cd8d82630109dd15fe9 /src | |
parent | 725c954efbdaca99701412e640a1a762b36a5f48 (diff) |
Add RPL_WHOREPLY to the list of numerics
Use it instead of the raw number
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_who.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_who.cpp b/src/coremods/core_who.cpp index d79006e84..739c675a9 100644 --- a/src/coremods/core_who.cpp +++ b/src/coremods/core_who.cpp @@ -191,7 +191,7 @@ void CommandWho::SendWhoLine(User* user, const std::vector<std::string>& parms, if (!memb) memb = get_first_visible_channel(u); - Numeric::Numeric wholine(352); + Numeric::Numeric wholine(RPL_WHOREPLY); wholine.push(memb ? memb->chan->name : "*").push(u->ident); wholine.push(opt_showrealhost ? u->host : u->dhost); if (!ServerInstance->Config->HideWhoisServer.empty() && !user->HasPrivPermission("servers/auspex")) |