From 1e88a57f269d09a642c3055f4aad004b43e9ef91 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 23 Mar 2013 02:06:57 -0400 Subject: [PATCH] relay: give +2 karma boost to relay IPs --- plugins/relay | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/relay b/plugins/relay index 7cba450..979ef94 100644 --- a/plugins/relay +++ b/plugins/relay @@ -241,6 +241,7 @@ sub hook_connect { # 95586 (connect) relay: pass, octet match in relayclients (127.0.0.) if ( $self->is_in_cidr_block() || $self->is_octet_match() ) { + $self->adjust_karma( 2 ); # big karma boost! $self->qp->connection->relay_client(1); return (DECLINED); };