]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Fix gline mask for "identd required" glines.
authorGunnar Beutner <redacted>
Sat, 22 Jun 2013 12:22:31 +0000 (14:22 +0200)
committerGunnar Beutner <redacted>
Sat, 22 Jun 2013 12:22:31 +0000 (14:22 +0200)
--HG--
branch : shroudtrusts

trusts/trusts_policy.c

index bee025d62d44fb00ce6d779b65f3112675cbe39f..34c6dce04552ca78de586a6f5f1f318df18851b3 100644 (file)
@@ -65,7 +65,7 @@ static void policycheck(int hooknum, void *arg) {
       controlwall(NO_OPER, NL_TRUSTS, "Ident required: '%s' %s!%s@%s - %senforced.", tg->name->content, np->nick, np->ident, np->host->name->content, enforcepolicy?"":"not ");
 
       if (enforcepolicy)
-        glinebynick(np, POLICY_GLINE_DURATION, "IDENTD required from your host.", GLINE_ALWAYS_USER|GLINE_IGNORE_TRUST);
+        glinebyip("~*", &np->ipaddress, 128, POLICY_GLINE_DURATION, "IDENTD required from your host.", GLINE_ALWAYS_USER|GLINE_IGNORE_TRUST);
     }
 
     if(tg->maxperident > 0) {