From: Dan Boger Date: Tue, 12 Jan 2010 07:42:04 +0000 (-0800) Subject: Fix autologin with oauth (when no passwords are set) X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/7c7f161dbdf78e1a5428a35701387548b0aa0e0f Fix autologin with oauth (when no passwords are set) --- diff --git a/twirssi.pl b/twirssi.pl index 3ae46d9..001b182 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -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; }