]> jfr.im git - solanum.git/commit - src/whowas.c
whowas: Use the normal rules for IP visibility.
authorJilles Tjoelker <redacted>
Sat, 14 Sep 2013 10:26:32 +0000 (12:26 +0200)
committerJilles Tjoelker <redacted>
Sat, 14 Sep 2013 10:26:32 +0000 (12:26 +0200)
commit364e59f82a86759738c1a0ea5362dad2a0b8c73c
treeeef8dceea915783b66000bea463c6afb09254dd0
parent2635cc8089cfbb304a6bc7c87b37accae0fb25a1
whowas: Use the normal rules for IP visibility.

Add the flags (auth{} spoof, dynamic spoof) to struct Whowas and add a
show_ip_whowas().

Normal users now see IPs of unspoofed users, and remote opers can see IPs
behind dynamic spoofs. Also, general::hide_spoof_ips is now applied when
the IP is shown, not when the client exits.
doc/reference.conf
include/client.h
include/whowas.h
modules/m_whowas.c
src/client.c
src/whowas.c