X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/1136f709ef8add5fa9ba8663db910003362e1bd2..5a61e83ffef125d89c3d533178ddb6610cec2a93:/src/mod-blacklist.c diff --git a/src/mod-blacklist.c b/src/mod-blacklist.c index 45776e7..39b2d5e 100644 --- a/src/mod-blacklist.c +++ b/src/mod-blacklist.c @@ -5,7 +5,7 @@ * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -152,7 +152,7 @@ dnsbl_hit(struct sar_request *req, struct dns_header *hdr, struct dns_rr *rr, un target[0] = '*'; target[1] = '@'; strcpy(target + 2, data->client_ip); - gline_add(self->name, target, zone->duration, reason, now, now, 1, 0); + gline_add(self->name, target, zone->duration, reason, now, 1, 0); } } free(txt); @@ -190,7 +190,7 @@ blacklist_check_user(struct userNode *user) target[0] = '*'; target[1] = '@'; strcpy(target + 2, host); - gline_add(self->name, target, conf.gline_duration, reason, now, now, 1, 0); + gline_add(self->name, target, conf.gline_duration, reason, now, 1, 0); } /* Figure out the base part of a DNS blacklist hostname. */