Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bob saget approves this commit message

  • Loading branch information...
commit fbdacc653344db6b7a6d3f66f37a8a8f096b4727 1 parent 66e1fb1
k authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  lib/PicBot.pm
  2. +2 −2 lib/PicBot/Twitter.pm
View
2  lib/PicBot.pm
@@ -173,7 +173,7 @@ sub source {
sub fail {
my ($robit,$args) = @_;
my $last = $robit->heap->{last};
- if ($args->{what} =~ /sage|404/) {
+ if ($args->{what} =~ /^sage\b|^404\b/) {
if (exists $last->{$args->{where}}) {
$robit->heap->{db}->fail($last->{$args->{where}}->{id});
delete $last->{$args->{where}};
View
4 lib/PicBot/Twitter.pm
@@ -5,8 +5,8 @@ use warnings;
use Net::Twitter::OAuth;
# FIXME: expedite the repo migration at the expense of ugliness
-our ($KEY,$SECRET);
-our ($TOKEN,$TSECRET);
+our ($KEY,$SECRET) = die "hi";
+our ($TOKEN,$TSECRET) = die "I like turtles.";
sub tweet {
my ($tw) = @_;
Please sign in to comment.
Something went wrong with that request. Please try again.