Fix typo
[twirssi-net-twitter-lite.git] / twirssi.pl
index 3ae46d936ccf71e56dc42397fa68bb0969880107..52343723a29d21d0994df5b12c7d79b3f475f4a7 100644 (file)
@@ -543,7 +543,7 @@ sub cmd_login {
             unless ( $twit->authorized ) {
                 &notice("Twirssi not autorized to access $service for $user.");
                 &notice("Please authorize at the following url, then enter the pin ");
-                &notice("supplied with /twirssi_oath $user\@$service <pin>");
+                &notice("supplied with /twirssi_oauth $user\@$service <pin>");
                 &notice($twit->get_authorization_url);
 
                 $oauth{pending}{"$user\@$service"} = $twit;
@@ -2002,9 +2002,7 @@ if ($window) {
         }
     }
 
-    if (    my $autouser = Irssi::settings_get_str("twitter_usernames")
-        and my $autopass = Irssi::settings_get_str("twitter_passwords") )
-    {
+    if ( my $autouser = Irssi::settings_get_str("twitter_usernames") ) {
         &cmd_login();
         &get_updates;
     }