mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 14:53:14 +02:00
In WHOWAS show the normal host (vhost/cloakedhost) to IRCOps now that
the realhost/IP is communicated on a separate line. This so you now can see both vhost/cloakedhost and realhost as an IRCOp in a single WHOWAS request.
This commit is contained in:
@@ -100,9 +100,7 @@ CMD_FUNC(cmd_whowas)
|
||||
{
|
||||
sendnumeric(client, RPL_WHOWASUSER, temp->name,
|
||||
temp->username,
|
||||
(IsOper(client) ? temp->hostname :
|
||||
(*temp->virthost !=
|
||||
'\0') ? temp->virthost : temp->hostname),
|
||||
BadPtr(temp->virthost) ? temp->hostname : temp->virthost,
|
||||
temp->realname);
|
||||
if (!BadPtr(temp->ip) && ValidatePermissionsForPath("client:see:ip",client,NULL,NULL,NULL))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user