Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Indentation
  • Loading branch information
AlexDaniel committed Jul 15, 2016
1 parent 841ee41 commit c6b2106
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Perl6IRCBotable.pm
Expand Up @@ -113,17 +113,17 @@ sub process_code {
my ($self, $code, $message) = @_;

if ($code =~ m{ ^https?:// }x ) {
my ($succeeded, $response) = $self->process_url($code, $message);
if ($succeeded) {
$code = $response;
} else {
return (0, $response);
}
my ($succeeded, $response) = $self->process_url($code, $message);
if ($succeeded) {
$code = $response;
} else {
$code =~ s//\n/g;
return (0, $response);
}
} else {
$code =~ s//\n/g;
}

return (1, $code);
return (1, $code);
}

sub get_config {
Expand Down

0 comments on commit c6b2106

Please sign in to comment.