earlytalker: prefix messages with result keywords

This commit is contained in:
Matt Simerson 2012-05-15 00:48:56 -04:00 committed by Robert
parent 4c6054c9fc
commit 5e7568fe71

View File

@ -126,7 +126,7 @@ sub apr_connect_handler {
} }
} }
else { else {
$self->log(LOGINFO, "remote host said nothing spontaneous, proceeding"); $self->log(LOGINFO, "pass: remote host said nothing spontaneous");
} }
} }
@ -149,7 +149,7 @@ sub apr_data_handler {
return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft'; return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft';
} }
else { else {
$self->log(LOGINFO, "remote host said nothing spontaneous, proceeding"); $self->log(LOGINFO, "pass: remote host said nothing spontaneous");
} }
} }
@ -173,7 +173,7 @@ sub connect_handler {
return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft'; return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft';
} }
} else { } else {
$self->log(LOGINFO, 'remote host said nothing spontaneous, proceeding'); $self->log(LOGINFO, 'pass: remote host said nothing spontaneous');
} }
return DECLINED; return DECLINED;
} }
@ -195,7 +195,7 @@ sub data_handler {
return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft'; return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft';
} }
else { else {
$self->log(LOGINFO, 'remote host said nothing spontaneous, proceeding'); $self->log(LOGINFO, 'pass: remote host said nothing spontaneous');
} }
return DECLINED; return DECLINED;
} }