File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66use File::Temp;
77use LWP::Simple;
88use Data::Dumper;
9+ use Net::Twitter;
910$Data::Dumper::Indent = 1;
1011
11- BEGIN {
12- $ENV {JSON_ANY_ORDER } = " JSON Syck DWIW" ;
13- require JSON::Any;
14- import JSON::Any;
15- require Net::Twitter;
16- import Net::Twitter;
17- }
18-
1912use vars qw( $VERSION %IRSSI) ;
2013
21- $VERSION = " 1.7.3 " ;
22- my ($REV ) = ' $Rev: 354 $' =~ / (\d +)/ ;
14+ $VERSION = " 1.7.4 " ;
15+ my ($REV ) = ' $Rev: 358 $' =~ / (\d +)/ ;
2316%IRSSI = (
2417 authors => ' Dan Boger' ,
2518 contact => ' zigdon@gmail.com' ,
2821 . ' Can optionally set your bitlbee /away message to same' ,
2922 license => ' GNU GPL v2' ,
3023 url => ' http://tinyurl.com/twirssi' ,
31- changed => ' $Date: 2009-01-08 14:46:04 -0800 (Thu, 08 Jan 2009) $' ,
24+ changed => ' $Date: 2009-01-13 21:02:17 -0800 (Tue, 13 Jan 2009) $' ,
3225);
3326
3427my $window ;
@@ -907,9 +900,10 @@ sub event_send_text {
907900
908901 # if the window where we got our text was the twitter window, and the user
909902 # wants to be lazy, tweet away!
910- if ( ($awin -> get_active_name() eq $window -> {name })
911- and Irssi::settings_get_bool(" tweet_window_input" ) ) {
912- &cmd_tweet($line , $server , $win );
903+ if ( ( $awin -> get_active_name() eq $window -> {name } )
904+ and Irssi::settings_get_bool(" tweet_window_input" ) )
905+ {
906+ &cmd_tweet( $line , $server , $win );
913907 }
914908}
915909
You can’t perform that action at this time.
0 commit comments