mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Add RPL_WHOREPLY to the list of numerics
Use it instead of the raw number
This commit is contained in:
parent
725c954efb
commit
1fd6f04e6d
@ -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,
|
||||
|
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user