summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/numerics.h1
-rw-r--r--src/coremods/core_who.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/numerics.h b/include/numerics.h
index fcc5f5942..2f25ac0cb 100644
--- a/include/numerics.h
+++ b/include/numerics.h
@@ -104,6 +104,7 @@ enum
RPL_INVITELIST = 346, // insp-specific (stolen from ircu)
RPL_ENDOFINVITELIST = 347, // insp-specific (stolen from ircu)
RPL_VERSION = 351,
+ RPL_WHOREPLY = 352,
RPL_NAMREPLY = 353,
RPL_LINKS = 364,
RPL_ENDOFLINKS = 365,
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"))