]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blame - glineoptimisation.patch
rename patch files
[irc/quakenet/snircd-patchqueue.git] / glineoptimisation.patch
CommitLineData
edb26b39
P
1# HG changeset patch
2# Parent 6e1210e81db241ffeaa6a06ad03454de070dbc93
3
4diff -r 6e1210e81db2 ircd/s_conf.c
5--- a/ircd/s_conf.c Fri Jul 19 21:22:16 2013 +0100
6+++ b/ircd/s_conf.c Fri Jul 19 21:25:37 2013 +0100
7@@ -1103,7 +1103,7 @@
8 * cause the server to split from the net.
9 * -skater_x
10 */
11- if (glinecheck && !feature_bool(FEAT_DISABLE_GLINES) && (agline = gline_lookup(cptr, 0))) {
12+ if (glinecheck && !feature_bool(FEAT_DISABLE_GLINES) && (agline = gline_lookup(cptr, 0)) && GlineIsActive(agline)) {
13 /*
14 * find active glines
15 * added a check against the user's IP address to find_gline() -Kev