Show
Ignore:
Timestamp:
11/18/07 08:36:46 (14 months ago)
Author:
xcezx
Message:
  • lang/perl/irssi/scripts/delicious.pl: post_to_delicious() に与える引数間違えてたのを修正。正しく "<$nick> $data"になるように。
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/irssi/scripts/delicious.pl

    r1739 r1740  
    3636 
    3737sub post_to_delicious { 
    38     my ( $server, $channel, $data ) = @_; 
     38    my ( $channel, $data, $nick ) = @_; 
    3939 
    40     my $address = $server->{'address'}; 
    41     my $nick    = $server->{'nick'}; 
    4240    $channel =~ s/^#//; 
    4341 
     
    8987                    if ( $target =~ /$_->{channel}/ ) 
    9088                    { 
    91                         post_to_delicious( $server, $target, $data ); 
     89                        post_to_delicious( $target, $data, $nick ); 
    9290                    } 
    9391                } @{ $config->{servers}->{ $server->{'address'} } }; 
     
    9593        } 
    9694        else { 
    97             post_to_delicious( $server, $target, $data ); 
     95            post_to_delicious( $target, $data, $nick ); 
    9896        } 
    9997    }