Permalink
Browse files

naughty: legibility improvement

  • Loading branch information...
1 parent 4531648 commit 2d4f4a299a6470b0bc59cb1915f5f73e40bfcf5c @msimerson msimerson committed Dec 18, 2013
Showing with 2 additions and 5 deletions.
  1. +2 −5 plugins/naughty
View
@@ -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);
}

0 comments on commit 2d4f4a2

Please sign in to comment.