]> jfr.im git - irc/rqf/shadowircd.git/commit - modules/m_xline.c
Remove reject entries on unkline/ungline/unxline.
authorJilles Tjoelker <redacted>
Sat, 8 Dec 2007 20:54:51 +0000 (21:54 +0100)
committerJilles Tjoelker <redacted>
Sat, 8 Dec 2007 20:54:51 +0000 (21:54 +0100)
commit35f6f850b62d10299bdd2b6125aa659016c68127
treeba53edcfef8c425473cdb3515d7768826fd81a94
parent6bfe3faec07793896f60e5c9b67319034989bdcb
Remove reject entries on unkline/ungline/unxline.
When a user is rejected, remember the hash value of the
ban mask (for klines/glines, hash value of the user part
XOR hash value of the host part) with the rejected IP;
if the kline/gline/xline is removed, remove rejects with
the same hash value also.  Note that this does not happen
for expiries; this is deliberate.
Rejects for no auth{} or dnsbl put a hash value of 0;
they cannot be removed selectively.
include/reject.h
modules/m_gline.c
modules/m_kline.c
modules/m_unreject.c
modules/m_xline.c
src/reject.c
src/s_conf.c
src/s_user.c