naughty: legibility improvement

This commit is contained in:
Matt Simerson 2013-12-18 00:17:37 -05:00
parent 45316487e3
commit 2d4f4a299a

View File

@ -140,11 +140,8 @@ sub naughty {
return DECLINED;
};
$self->log(LOGINFO, "disconnecting");
my $type = $self->get_reject_type(
'disconnect',
$self->connection->notes(
'naughty_reject_type')
);
my $rtype = $self->connection->notes( 'naughty_reject_type' );
my $type = $self->get_reject_type( 'disconnect', $rtype );
return ($type, $naughty);
}