From 1fd6f04e6df789ffd4d57e1535a0918d901c2271 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 26 Feb 2016 16:03:00 +0100 Subject: Add RPL_WHOREPLY to the list of numerics Use it instead of the raw number --- src/coremods/core_who.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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& 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")) -- cgit v1.2.3