Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

return 0 fix, f yeah

Conflicts:

	bot.pl
  • Loading branch information...
commit 54b9574f42fa7a270d5bcb522a0b38ed42d9578b 1 parent 8f42819
@abramhindle abramhindle authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bot.pl
View
4 bot.pl
@@ -208,10 +208,10 @@ sub chunkby {
my ($a,$len) = @_;
my @out = ();
while (length($a) > $len) {
- push @out,substr($a,0,$len);
+ push @out,substr($a, 0, $len);
$a = substr($a,$len);
}
- push @out, $a if ($a);
+ push @out, $a if (defined $a);
return @out;
}
Please sign in to comment.
Something went wrong with that request. Please try again.