Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Sep 7, 2014
1 parent 9194851 commit d1600c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/MetaCPAN/Web/Controller/Pod.pm
Expand Up @@ -176,6 +176,7 @@ sub view : Private {
irc => $irc,
}
);

unless ( $reqs->{pod}->{raw} ) {
$c->stash( pod_error => $reqs->{pod}->{message}, );
}
Expand Down
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Web/Role/ReleaseInfo.pm
Expand Up @@ -129,10 +129,10 @@ sub groom_irc {
my $host = $url->authority;
my $port;
my $user;
if ($host =~ s/:(\d+)$//) {
if ( $host =~ s/:(\d+)$// ) {
$port = $1;
}
if ($host =~ s/^(.*)@//) {
if ( $host =~ s/^(.*)@// ) {
$user = $1;
}
my $path = uri_unescape( $url->path );
Expand Down

0 comments on commit d1600c9

Please sign in to comment.