From 1cd1486d3710190538fa0732740d384b9f08f1e1 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 20 Apr 2013 23:48:24 -0400 Subject: [PATCH] hosts_allow: more succinct log message --- plugins/hosts_allow | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/hosts_allow b/plugins/hosts_allow index 2e3be5f..1ea62df 100644 --- a/plugins/hosts_allow +++ b/plugins/hosts_allow @@ -120,11 +120,11 @@ sub karma_bump { my ($self, $karma, $max) = @_; if ( $karma > 5 ) { - $self->log(LOGDEBUG, "increasing max connects for positive karma"); + $self->log(LOGDEBUG, "connect limit +3 for positive karma"); return $max + 3; }; if ( $karma <= 0 ) { - $self->log(LOGINFO, "limiting max connects to 1 (karma $karma)"); + $self->log(LOGINFO, "connect limit 1, karma $karma"); return 1; }; return $max;