diff options
author | Neil Moore <neil@s-z.org> | 2012-07-08 23:12:39 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-07-08 23:12:39 -0500 |
commit | ee64b338fbf25ac140934e300a395664c98b78ba (patch) | |
tree | 601d0480cf21b5221a5e81a889a244f412bf124a | |
parent | ddba2facafd2a229d34f8502b08b283d2e41bb5f (diff) | |
download | crawlbot-ee64b338fbf25ac140934e300a395664c98b78ba.tar.gz crawlbot-ee64b338fbf25ac140934e300a395664c98b78ba.zip |
Whitespace fixes.
-rw-r--r-- | lib/Crawl/Bot/Plugin/Commit.pm | 2 | ||||
-rw-r--r-- | lib/Crawl/Bot/Plugin/Logging.pm | 8 | ||||
-rw-r--r-- | lib/Crawl/Bot/Plugin/Monster.pm | 7 |
3 files changed, 8 insertions, 9 deletions
diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm index 2af95aa..e0d158a 100644 --- a/lib/Crawl/Bot/Plugin/Commit.pm +++ b/lib/Crawl/Bot/Plugin/Commit.pm @@ -64,7 +64,7 @@ sub said { $self->say(@keys, "$commit->{author} * r$abbr: $commit->{subject} " . "($commit->{date}, $commit->{nfiles} file$pl, " . "$commit->{nins}+ $commit->{ndel}-) " - . "https://gitorious.org/crawl/crawl/commit/$abbr" + . "https://gitorious.org/crawl/crawl/commit/$abbr" ); } else { my $ev = $? >> 8; diff --git a/lib/Crawl/Bot/Plugin/Logging.pm b/lib/Crawl/Bot/Plugin/Logging.pm index 6bc6ecc..0326337 100644 --- a/lib/Crawl/Bot/Plugin/Logging.pm +++ b/lib/Crawl/Bot/Plugin/Logging.pm @@ -89,7 +89,7 @@ sub emoted { my ($args) = @_; if ($args->{channel} eq $self->bot->{channels}[0]) { - $self->log_message("* $args->{who} $args->{body}"); + $self->log_message("* $args->{who} $args->{body}"); } return; } @@ -99,7 +99,7 @@ sub chanjoin { my ($args) = @_; if ($args->{channel} eq $self->bot->{channels}[0]) { - $self->log_message("-!- $args->{who} has joined $args->{channel}"); + $self->log_message("-!- $args->{who} has joined $args->{channel}"); } return; } @@ -109,7 +109,7 @@ sub chanpart { my ($args) = @_; if ($args->{channel} eq $self->bot->{channels}[0]) { - $self->log_message("-!- $args->{who} has left $args->{channel}"); + $self->log_message("-!- $args->{who} has left $args->{channel}"); } return; } @@ -129,7 +129,7 @@ sub kicked { my ($args) = @_; if ($args->{channel} eq $self->bot->{channels}[0]) { - $self->log_message("-!- $args->{kicked} was kicked from $args->{channel} by $args->{who} [$args->{reason}]"); + $self->log_message("-!- $args->{kicked} was kicked from $args->{channel} by $args->{who} [$args->{reason}]"); } return; } diff --git a/lib/Crawl/Bot/Plugin/Monster.pm b/lib/Crawl/Bot/Plugin/Monster.pm index ffa5940..445b16b 100644 --- a/lib/Crawl/Bot/Plugin/Monster.pm +++ b/lib/Crawl/Bot/Plugin/Monster.pm @@ -31,10 +31,9 @@ sub get_monster_info { return "Error: Bad branch $branch\n" unless $branch =~ /^(trunk|stable)$/; CORE::open(F, "-|") || do { - # Collect stderr too - close STDERR; open STDERR, '>&STDOUT'; - exec "bin/monster-$branch", $monster or die "could not execute monster-$branch: $!"; - + # Collect stderr too + close STDERR; open STDERR, '>&STDOUT'; + exec "bin/monster-$branch", $monster or die "could not execute monster-$branch: $!"; }; binmode F, ":utf8"; local $/ = undef; |