X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/blobdiff_plain/763abb96238ae536e92ff472342f7e0c89bf2e65..d20663fe364a824f07b46882cfde798f108f27f6:/twirssi.pl diff --git a/twirssi.pl b/twirssi.pl index c133378..64c344f 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -524,7 +524,7 @@ sub cmd_login { ); } else { $twit = Net::Twitter->new( - traits => [ 'API::REST', 'OAuth', 'API::Search' ], + traits => [ 'API::REST', 'OAuth', 'API::Search' ], consumer_key => 'BZVAvBma4GxdiRwXIvbnw', consumer_secret => '0T5kahwLyb34vciGZsgkA9lsjtGCQ05vxVE2APXM', @@ -955,7 +955,8 @@ sub load_friends { }; if ($@) { - print $fh "type:debug Error during friends list update. Aborted.\n"; + print $fh "type:debug Error during friends list update. Aborted.\n" + if $fh; return; }