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 5295231..840a20e 100644 (file)
@@ -543,8 +543,9 @@ sub cmd_login {
             }
 
             unless ( $twit->authorized ) {
+                my $url;
                 eval {
-                    my $url = $twit->get_authorization_url;
+                    $url = $twit->get_authorization_url;
                 };
 
                 if ($@) {