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:
Jilles Tjoelker 2014-03-02 21:54:29 +01:00
parent b222b6a05a
commit 0e717d8eb4

View file

@ -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);