ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/src/client.c
(Generate patch)

Comparing ircd-hybrid-8/src/client.c (file contents):
Revision 1339 by michael, Fri Apr 6 10:22:36 2012 UTC vs.
Revision 1340 by michael, Fri Apr 6 10:43:23 2012 UTC

# Line 632 | Line 632 | get_client_name(const struct Client *cli
632  
633    assert(client != NULL);
634  
635 <  if (!MyConnect(client) || !irccmp(client->name, client->host))
635 >  if (!MyConnect(client))
636      return client->name;
637  
638 <  if (ConfigServerHide.hide_server_ips)
639 <    if (IsServer(client) || IsConnecting(client) || IsHandshake(client))
638 >  if (IsServer(client) || IsConnecting(client) || IsHandshake(client))
639 >  {
640 >    if (!irccmp(client->name, client->host))
641 >      return client->name;
642 >    else if (ConfigServerHide.hide_server_ips)
643        type = MASK_IP;
644 +  }
645  
646    if (ConfigFileEntry.hide_spoof_ips)
647      if (type == SHOW_IP && IsIPSpoof(client))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines