cap_realhost: Don't send realhost to non-opers

If they can see it it's already in the message source
This commit is contained in:
Ed Kellett 2020-10-22 16:58:23 +01:00
parent 3b4731951f
commit 272e4a7d33

View file

@ -76,12 +76,7 @@ cap_realhost_outbound_msgbuf(void *data_)
}
if (!EmptyString(data->client->orighost))
{
if (IsDynSpoof(data->client))
msgbuf_append_tag(msgbuf, "solanum.chat/realhost", data->client->orighost, CLICAP_OPER_REALHOST);
else
msgbuf_append_tag(msgbuf, "solanum.chat/realhost", data->client->orighost, CLICAP_REALHOST);
}
}
static inline void