Fix autologin with oauth (when no passwords are set)
[twirssi-net-twitter-lite.git] / twirssi.pl
index 3ae46d936ccf71e56dc42397fa68bb0969880107..001b18240dadc2e37bb9844814f2920b55395a4d 100644 (file)
@@ -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;
     }