]> git.sommitrealweird.co.uk Git - twirssi-net-twitter-lite.git/commitdiff
Fix autologin with oauth (when no passwords are set)
authorDan Boger <zigdon@irc.peeron.com>
Tue, 12 Jan 2010 07:42:04 +0000 (23:42 -0800)
committerDan Boger <zigdon@irc.peeron.com>
Tue, 12 Jan 2010 07:42:04 +0000 (23:42 -0800)
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;
     }
         &cmd_login();
         &get_updates;
     }