]> git.sommitrealweird.co.uk Git - twirssi-net-twitter-lite.git/commitdiff
Fix compilation issue
authorDan Boger <zigdon@irc.peeron.com>
Wed, 13 Jan 2010 21:38:02 +0000 (13:38 -0800)
committerDan Boger <zigdon@irc.peeron.com>
Wed, 13 Jan 2010 21:38:02 +0000 (13:38 -0800)
twirssi.pl

index 5295231f8c07ede5bb0be5239227ab779679b4b2..840a20eb84632f761a9b0711e09e4d1ec343fd5a 100644 (file)
@@ -543,8 +543,9 @@ sub cmd_login {
             }
 
             unless ( $twit->authorized ) {
             }
 
             unless ( $twit->authorized ) {
+                my $url;
                 eval {
                 eval {
-                    my $url = $twit->get_authorization_url;
+                    $url = $twit->get_authorization_url;
                 };
 
                 if ($@) {
                 };
 
                 if ($@) {