]> jfr.im git - irc/quakenet/newserv.git/commitdiff
trusts: Don't check clone limits for ::.
authorGunnar Beutner <redacted>
Fri, 2 Aug 2013 18:32:28 +0000 (20:32 +0200)
committerGunnar Beutner <redacted>
Fri, 2 Aug 2013 18:32:28 +0000 (20:32 +0200)
--HG--
branch : shroudtrusts

trusts/trusts_policy.c

index efa82b9b94bc53db4c0f640dfec1a9e1fa8b8c73..57782406fb51d4978e33553d35ebe4b1c20922a8 100644 (file)
@@ -70,7 +70,7 @@ static int checkconnectionth(const char *username, struct irc_in_addr *ip, trust
   if(messagelen>0)
     message[0] = '\0';
   
-  if(!th || !trustsdbloaded)
+  if(!th || !trustsdbloaded || irc_in_addr_is_loopback(ip))
     return POLICY_SUCCESS;
 
   tg = th->group;