summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-02-26 16:03:00 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-02-26 16:03:00 +0100
commit1fd6f04e6df789ffd4d57e1535a0918d901c2271 (patch)
tree8f4175b42c04ae98af3d3cd8d82630109dd15fe9 /src
parent725c954efbdaca99701412e640a1a762b36a5f48 (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.cpp2
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"))