projects
/
twirssi-net-twitter-lite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4bc15e5
)
Print a helpful message when an SSL login fails.
author
Dan Boger
<zigdon@irc.peeron.com>
Wed, 2 Sep 2009 20:55:03 +0000
(13:55 -0700)
committer
Dan Boger
<zigdon@irc.peeron.com>
Wed, 2 Sep 2009 20:55:03 +0000
(13:55 -0700)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index eb878bf205db717e4a49b7abeec4bbb4c712e11e..92f60b6cbeb20eb3b7197a60a860f404b2d3e2ea 100644
(file)
--- a/
twirssi.pl
+++ b/
twirssi.pl
@@
-550,6
+550,13
@@
sub cmd_login {
return 1;
} else {
¬ice("Login failed");
return 1;
} else {
¬ice("Login failed");
+ if ( not Irssi::settings_get_bool("twirssi_avoid_ssl") ) {
+ ¬ice(
+ "It's possible you're missing one of the modules required for "
+ . "SSL logins. Try setting twirssi_avoid_ssl to on. See "
+ . "http://cpansearch.perl.org/src/GAAS/libwww-perl-5.831/README.SSL "
+ . "for the detailed requirements." );
+ }
}
}
}
}
@@
-1223,7
+1230,7
@@
sub monitor_child {
delete $tweet_cache{$_};
}
$last_poll = $new_last_poll;
delete $tweet_cache{$_};
}
$last_poll = $new_last_poll;
-
+
# make sure the pid is removed from the waitpid list
Irssi::pidwait_remove($child_pid);
# make sure the pid is removed from the waitpid list
Irssi::pidwait_remove($child_pid);