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 (from parent 1:
720e93b
)
r677 - Add a new setting, twirssi_avoid_ssl. By default, set to 0, means twirssi...
author
Dan Boger
<zigdon@irc.peeron.com>
Wed, 22 Jul 2009 20:58:16 +0000
(13:58 -0700)
committer
Dan Boger
<zigdon@irc.peeron.com>
Wed, 22 Jul 2009 20:58:16 +0000
(13:58 -0700)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index 68dfac8d6c3fb2aea85e79d58e4cccb41a85bd34..356660fdbbb793d46cf95302940d70ee54a170f2 100644
(file)
--- a/
twirssi.pl
+++ b/
twirssi.pl
@@
-12,7
+12,7
@@
$Data::Dumper::Indent = 1;
use vars qw($VERSION %IRSSI);
$VERSION = "2.2.5beta";
use vars qw($VERSION %IRSSI);
$VERSION = "2.2.5beta";
-my ($REV) = '$Rev: 67
6
$' =~ /(\d+)/;
+my ($REV) = '$Rev: 67
7
$' =~ /(\d+)/;
%IRSSI = (
authors => 'Dan Boger',
contact => 'zigdon@gmail.com',
%IRSSI = (
authors => 'Dan Boger',
contact => 'zigdon@gmail.com',
@@
-21,7
+21,7
@@
my ($REV) = '$Rev: 676 $' =~ /(\d+)/;
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://twirssi.com',
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://twirssi.com',
- changed => '$Date: 2009-07-22 1
1:05:52
-0700 (Wed, 22 Jul 2009) $',
+ changed => '$Date: 2009-07-22 1
3:58:05
-0700 (Wed, 22 Jul 2009) $',
);
my $window;
);
my $window;
@@
-495,7
+495,8
@@
sub cmd_login {
$twit = "Net::$service"->new(
username => $user,
password => $pass,
$twit = "Net::$service"->new(
username => $user,
password => $pass,
- source => "twirssi"
+ source => "twirssi",
+ ssl => Irssi::settings_get_bool("twirssi_avoid_ssl") ? 0 : 1,
);
unless ( $twit->verify_credentials() ) {
);
unless ( $twit->verify_credentials() ) {
@@
-1513,6
+1514,7
@@
Irssi::settings_add_bool( "twirssi", "twirssi_notify_timeouts", 1 );
Irssi::settings_add_bool( "twirssi", "twirssi_hilights", 1 );
Irssi::settings_add_bool( "twirssi", "twirssi_always_shorten", 0 );
Irssi::settings_add_bool( "twirssi", "tweet_window_input", 0 );
Irssi::settings_add_bool( "twirssi", "twirssi_hilights", 1 );
Irssi::settings_add_bool( "twirssi", "twirssi_always_shorten", 0 );
Irssi::settings_add_bool( "twirssi", "tweet_window_input", 0 );
+Irssi::settings_add_bool( "twirssi", "twirssi_avoid_ssl", 0 );
$last_poll = time - &get_poll_time;
$window = Irssi::window_find_name( Irssi::settings_get_str('twitter_window') );
$last_poll = time - &get_poll_time;
$window = Irssi::window_find_name( Irssi::settings_get_str('twitter_window') );