X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/ec1a68c8a2703555659265994f30e8f9156af21c..0f3e9cfc4b5d0f13085c975e10c0e6c4c8e5fbc3:/src/mod-sockcheck.c diff --git a/src/mod-sockcheck.c b/src/mod-sockcheck.c index eeb7ada..42ed8b4 100644 --- a/src/mod-sockcheck.c +++ b/src/mod-sockcheck.c @@ -1,7 +1,7 @@ /* mod-sockcheck.c - insecure proxy checking * Copyright 2000-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -207,7 +207,7 @@ sockcheck_issue_gline(sockcheck_cache_info sci) strcpy(target, "*@"); strcpy(target+2, sci->hostname); log_module(PC_LOG, LOG_INFO, "Issuing gline for client at IP %s hostname %s: %s", inet_ntoa(sci->addr), sci->hostname, sci->reason); - gline_add("ProxyCheck", target, sockcheck_conf.gline_duration, sci->reason, now, 1); + gline_add("ProxyCheck", target, sockcheck_conf.gline_duration, sci->reason, now, 1, 1); } static struct sockcheck_client *