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:
parent
3b4731951f
commit
272e4a7d33
1 changed files with 1 additions and 6 deletions
|
@ -76,12 +76,7 @@ cap_realhost_outbound_msgbuf(void *data_)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!EmptyString(data->client->orighost))
|
if (!EmptyString(data->client->orighost))
|
||||||
{
|
|
||||||
if (IsDynSpoof(data->client))
|
|
||||||
msgbuf_append_tag(msgbuf, "solanum.chat/realhost", data->client->orighost, CLICAP_OPER_REALHOST);
|
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
|
static inline void
|
||||||
|
|
Loading…
Reference in a new issue