log_client_name: Remove MASK_IP case.
The MASK_IP case in log_client_name() was broken (because of a missing break, it behaved as HIDE_IP). However, log_client_name() with MASK_IP does not make sense anyway and is not used.
This commit is contained in:
parent
b222b6a05a
commit
0e717d8eb4
1 changed files with 0 additions and 4 deletions
|
@ -928,10 +928,6 @@ log_client_name(struct Client *target_p, int showip)
|
|||
target_p->username, target_p->sockhost);
|
||||
break;
|
||||
|
||||
case MASK_IP:
|
||||
rb_snprintf(nbuf, sizeof(nbuf), "%s[%s@255.255.255.255]",
|
||||
target_p->name, target_p->username);
|
||||
|
||||
default:
|
||||
rb_snprintf(nbuf, sizeof(nbuf), "%s[%s@%s]", target_p->name,
|
||||
target_p->username, target_p->host);
|
||||
|
|
Loading…
Reference in a new issue